/*
Theme Name: EmojiVista Premium
Theme URI: https://emojivista.com
Author: EmojiVista SEO Experts
Author URI: https://emojivista.com/about
Description: An ultra-fast, premium, mobile-first, and SEO-friendly WordPress theme designed specifically for massive Emoji databases and directory sites, built for maximum AdSense revenue and Flippa flips. Includes built-in custom post types, sitemaps, JSON-LD schemas, breadcrumbs, and AJAX search.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emojivista
*/

/* Reset & Core Base Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #1f2937;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode Theme overrides */
body.dark-mode {
  background-color: #0b0f19;
  color: #f3f4f6;
}

a {
  color: #7c3aed;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #6d28d9;
}

body.dark-mode a {
  color: #a78bfa;
}

body.dark-mode a:hover {
  color: #c4b5fd;
}

/* Sticky Premium Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}

body.dark-mode .site-header {
  background-color: rgba(11, 15, 25, 0.9);
  border-bottom: 1px solid #1f2937;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.dark-mode .site-logo {
  color: #ffffff;
}

/* Rounded Cards & Spacing Grids */
.emoji-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.emoji-card {
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

.emoji-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body.dark-mode .emoji-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.emoji-char {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.emoji-name {
  font-size: 0.75rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark-mode .emoji-name {
  color: #9ca3af;
}

/* AdSense Banner Placeholders */
.adsense-placeholder {
  background: #f9fafb;
  border: 2px dashed #d1d5db;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  font-size: 0.85rem;
  color: #9ca3af;
  position: relative;
}

body.dark-mode .adsense-placeholder {
  background: #111827;
  border-color: #374151;
}

/* Toast Notifications styling */
.toast-notif {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  display: none;
  z-index: 100;
  animation: slideUp 0.3s forwards;
}

@keyframes slideUp {
  from { transform: translateY(1rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
