/* ============================================================
   GameNova – Roblox Codes Hub
   Global Stylesheet
   ============================================================ */

:root {
  --bg-primary:   #07071a;
  --bg-secondary: #0d0d2b;
  --bg-card:      #13133a;
  --bg-card-hover:#1a1a4a;
  --accent:       #a259ff;
  --accent2:      #00cfff;
  --accent3:      #ff6b35;
  --accent-glow:  rgba(162, 89, 255, 0.35);
  --accent2-glow: rgba(0, 207, 255, 0.25);
  --text-primary: #f0f0ff;
  --text-muted:   #8888bb;
  --text-code:    #00e5ff;
  --border:       rgba(162,89,255,0.15);
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 4px 32px rgba(0,0,0,0.6);
  --transition:   0.2s ease;
  --font-main:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --container:    1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #ff6b35, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section    { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.5px;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 12px var(--accent-glow);
}
.nav-links {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Language switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg-card); border-radius: 20px; padding: 3px;
}
.lang-btn {
  padding: 4px 10px; border-radius: 16px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition);
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white;
}

/* Search */
.nav-search {
  position: relative;
}
.nav-search input {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 8px 16px 8px 36px;
  color: var(--text-primary); font-size: 0.85rem; width: 200px;
  transition: var(--transition);
  outline: none;
}
.nav-search input:focus {
  border-color: var(--accent); width: 260px;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search .search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none; font-size: 0.9rem;
}

/* Hamburger */
.nav-toggle { display: none; padding: 6px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: var(--transition);
  margin: 4px 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  min-height: 520px;
  display: flex; align-items: center;
}

/* Background image — user must place image at /images/hero-bg.jpg */
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/images/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Dark overlay so text stays readable — heavier on left, lighter on right */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(7,7,26,0.72) 0%,
      rgba(7,7,26,0.55) 50%,
      rgba(7,7,26,0.85) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(162,89,255,0.18) 0%, transparent 60%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(162,89,255,0.15); border: 1px solid rgba(162,89,255,0.45);
  border-radius: 20px; padding: 5px 16px; font-size: 0.8rem;
  color: #d4aaff; font-weight: 700; margin-bottom: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 20px rgba(162,89,255,0.2);
}
.hero-badge::before { content: '🟣'; font-size: 0.7rem; }

.hero h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.hero p {
  font-size: 1.1rem; color: rgba(240,240,255,0.82); max-width: 560px;
  margin: 16px auto 0; text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-stats {
  display: flex; justify-content: center; gap: 0; margin-top: 44px;
  flex-wrap: wrap; gap: 8px;
}
.stat-item {
  text-align: center;
  background: rgba(13,13,43,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(162,89,255,0.2); border-radius: var(--radius);
  padding: 14px 28px; min-width: 120px;
}
.stat-num {
  font-size: 1.8rem; font-weight: 900;
  background: linear-gradient(135deg, #c084fc, #00cfff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.78rem; color: rgba(200,200,230,0.7); margin-top: 3px; font-weight: 500; }

/* Floating icons for kids */
.hero-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater {
  position: absolute; font-size: 2rem; animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(162,89,255,0.6));
}
.f1 { top:15%; left:6%;  animation-delay:0s;   animation-duration:5s; }
.f2 { top:25%; right:8%; animation-delay:1s;   animation-duration:7s; }
.f3 { bottom:20%; left:10%; animation-delay:2s; animation-duration:6s; }
.f4 { top:60%; right:12%; animation-delay:0.5s; animation-duration:8s; }
.f5 { bottom:30%; right:5%; animation-delay:1.5s; animation-duration:5.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(8deg); }
  66%       { transform: translateY(8px) rotate(-5deg); }
}

/* ============================================================
   AD BANNER SLOTS
   ============================================================ */
.ad-banner {
  background: var(--bg-secondary);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--text-muted);
  font-size: 0.8rem; position: relative; overflow: hidden;
}
.ad-banner::before {
  content: 'PUBLICITÉ / ADVERTISEMENT';
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  font-size: 0.65rem; letter-spacing: 1px; color: rgba(255,255,255,0.15);
  font-weight: 600;
}
.ad-leaderboard { height: 90px; margin: 20px 0; }
.ad-rectangle  { height: 250px; width: 100%; }
.ad-sticky-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  height: 60px; border-radius: 0; border-left: none; border-right: none;
  border-bottom: none;
}

/* AdSense real insertion points */
.adsense-slot { display: block; margin: 20px auto; text-align: center; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 10px;
}
.section-title {
  display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700;
}
.section-title .icon { font-size: 1.3rem; }
.view-all {
  font-size: 0.85rem; color: var(--accent2); font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  transition: var(--transition);
  text-shadow: 0 0 10px var(--accent2-glow);
}
.view-all:hover { gap: 8px; color: #fff; }

/* ============================================================
   GAME CARDS GRID
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.games-grid-lg {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(162,89,255,0.25), 0 0 0 1px rgba(162,89,255,0.2);
  border-color: rgba(162,89,255,0.5);
}
.game-card-thumb {
  position: relative; height: 160px; overflow: hidden;
  background: linear-gradient(135deg, #1a1a30, #0a0a1a);
}
.game-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-card-thumb img { transform: scale(1.05); }
.game-card-thumb .thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #1a1a30 0%, #0d0d1a 100%);
}
.card-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-updated { background: #00c853; color: white; }
.badge-hot     { background: linear-gradient(135deg,#a259ff,#7b2fff); color: white; box-shadow:0 0 10px rgba(162,89,255,.5); }
.badge-new     { background: linear-gradient(135deg,#00cfff,#0099cc); color: white; box-shadow:0 0 10px rgba(0,207,255,.4); }
.badge-nocode  { background: #555; color: #ccc; }

.game-card-body { padding: 16px; }
.game-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); }
.game-card-meta  {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap;
}
.meta-codes { color: #00cfff; font-weight: 700; }
.meta-date  { }
.game-card-desc {
  font-size: 0.82rem; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 12px;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #a259ff, #00cfff);
  color: white; padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 0.84rem; font-weight: 800; width: 100%; justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(162,89,255,0.35);
  letter-spacing: 0.2px;
}
.card-cta:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(162,89,255,0.5);
  transform: translateY(-1px);
}

/* ============================================================
   FEATURED CARD (large)
   ============================================================ */
.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) { .featured-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CODES TABLE (game page)
   ============================================================ */
.codes-section { margin-bottom: 40px; }
.codes-status-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: pulse 2s infinite;
}
.status-dot.green { background: #00c853; box-shadow: 0 0 8px #00c853; }
.status-dot.red   { background: var(--accent); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.status-label { font-size: 0.85rem; font-weight: 600; }
.status-date  { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }

.codes-table { width: 100%; border-collapse: collapse; }
.codes-table th {
  background: var(--bg-secondary); padding: 12px 16px;
  text-align: left; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.codes-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.codes-table tr:last-child td { border-bottom: none; }
.codes-table tr:hover td { background: rgba(255,255,255,0.02); }

.code-cell {
  display: flex; align-items: center; gap: 8px;
}
.code-value {
  font-family: var(--font-mono); color: var(--text-code);
  background: rgba(0,229,255,0.06); padding: 3px 8px;
  border-radius: 4px; font-size: 0.88rem; font-weight: 600;
}
.copy-btn {
  background: var(--bg-card-hover); border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 8px; font-size: 0.72rem; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.copied { background: #00c853; border-color: #00c853; color: white; }

.reward-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,140,0,0.1); border: 1px solid rgba(255,140,0,0.2);
  border-radius: 20px; padding: 2px 10px; font-size: 0.78rem; color: var(--accent2);
}
.expired-code .code-value { color: var(--text-muted); text-decoration: line-through; }
.expired-code .reward-tag { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--text-muted); }

/* ============================================================
   TIPS SECTION
   ============================================================ */
.tips-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.tip-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.tip-card .tip-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; color: white; margin-bottom: 12px;
}
.tip-card h4 { margin-bottom: 6px; color: var(--text-primary); }
.tip-card p  { font-size: 0.85rem; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.videos-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.video-embed {
  position: relative; padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: none;
}
.video-embed-placeholder {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #111; color: var(--text-muted); gap: 8px;
}
.video-embed-placeholder .play-icon { font-size: 3rem; }
.video-label {
  padding: 12px 16px; font-size: 0.85rem; font-weight: 600; color: var(--text-primary);
}

/* ============================================================
   AFFILIATE / SPONSOR SECTION
   ============================================================ */
.affiliate-bar {
  background: linear-gradient(135deg, rgba(162,89,255,0.10), rgba(0,207,255,0.08));
  border: 1px solid rgba(162,89,255,0.25); border-radius: var(--radius);
  padding: 20px 24px; margin: 30px 0;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.affiliate-bar .aff-icon { font-size: 2.5rem; flex-shrink: 0; }
.affiliate-bar .aff-text h4 { color: var(--text-primary); margin-bottom: 4px; }
.affiliate-bar .aff-text p  { font-size: 0.85rem; }
.affiliate-bar .aff-cta {
  margin-left: auto; flex-shrink: 0;
  background: linear-gradient(135deg, #a259ff, #00cfff);
  color: white; padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 700; white-space: nowrap;
  transition: opacity var(--transition);
}
.affiliate-bar .aff-cta:hover { opacity: 0.85; }

/* ============================================================
   HOW TO REDEEM
   ============================================================ */
.redeem-steps {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.redeem-step {
  flex: 1; min-width: 160px; padding: 20px; text-align: center;
  border-right: 1px solid var(--border); position: relative;
}
.redeem-step:last-child { border-right: none; }
.redeem-step .step-num {
  font-size: 1.8rem; font-weight: 900; color: var(--accent); opacity: 0.3;
  line-height: 1;
}
.redeem-step .step-icon { font-size: 1.8rem; margin: 6px 0; }
.redeem-step h4 { font-size: 0.85rem; color: var(--text-primary); margin-bottom: 4px; }
.redeem-step p  { font-size: 0.78rem; }

/* ============================================================
   GAME PAGE HERO
   ============================================================ */
.game-hero {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border); padding: 40px 0;
}
.game-hero-inner {
  display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap;
}
.game-hero-thumb {
  width: 120px; height: 120px; border-radius: var(--radius);
  object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a30, #0a0a1a);
  display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.game-hero-info { flex: 1; min-width: 0; }
.game-hero-info h1 { margin-bottom: 8px; }
.game-hero-info .game-meta {
  display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 14px;
}
.game-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: var(--text-muted);
}
.game-meta-item strong { color: var(--text-primary); }
.game-hero-info p.desc { font-size: 0.95rem; max-width: 640px; }

/* ============================================================
   SIDEBAR LAYOUT (game page)
   ============================================================ */
.page-with-sidebar {
  display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start;
}
@media (max-width: 960px) { .page-with-sidebar { grid-template-columns: 1fr; } }
.sidebar-sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.sidebar-widget h3 { font-size: 0.95rem; margin-bottom: 14px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }

/* Newsletter */
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  color: var(--text-primary); font-size: 0.85rem; outline: none;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; padding: 10px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.85rem; transition: opacity var(--transition);
}
.newsletter-form button:hover { opacity: 0.85; }

/* ============================================================
   SEARCH RESULTS DROPDOWN
   ============================================================ */
.search-results {
  position: absolute; top: calc(100% + 8px); right: 0; width: 320px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); z-index: 200;
  max-height: 400px; overflow-y: auto; display: none;
}
.search-results.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); transition: var(--transition);
}
.search-result-item:hover { background: var(--bg-card-hover); }
.search-result-item:last-child { border-bottom: none; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--text-muted); padding: 14px 0;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border); margin-top: 80px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: 50px 0 40px;
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .nav-logo { font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; max-width: 260px; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--accent); background: rgba(255,77,77,0.1); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; color: var(--text-primary); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 0.83rem; color: var(--text-muted); transition: var(--transition); }
.footer-links li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border); padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; color: var(--text-muted);
}
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   CHIPS / TAGS
   ============================================================ */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
  transition: var(--transition);
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   NOTICE BOX
   ============================================================ */
.notice {
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: flex-start; gap: 10px; margin: 16px 0;
}
.notice-info    { background: rgba(0,150,255,0.08); border-left: 3px solid #0096ff; }
.notice-warning { background: rgba(255,140,0,0.08); border-left: 3px solid var(--accent2); }
.notice-success { background: rgba(0,200,83,0.08);  border-left: 3px solid #00c853; }
.notice .notice-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.notice p { font-size: 0.85rem; color: var(--text-muted); }
.notice p strong { color: var(--text-primary); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 768px) {
  .nav-links, .nav-search { display: none; }
  .nav-toggle { display: block; }

  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-primary); padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    z-index: 200;
  }
  .nav-links.mobile-open a { padding: 10px 0; font-size: 1rem; width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding: 50px 0 40px; }
  .hero-stats { gap: 24px; }
  .affiliate-bar { flex-direction: column; text-align: center; }
  .affiliate-bar .aff-cta { margin-left: 0; width: 100%; text-align: center; display: block; padding: 12px; }
  .redeem-steps { flex-direction: column; }
  .redeem-step { border-right: none; border-bottom: 1px solid var(--border); }
  .redeem-step:last-child { border-bottom: none; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-24 { margin-top: 24px; }
.hidden { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 700; transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, #a259ff, #00cfff);
  color: white;
  box-shadow: 0 4px 14px rgba(162,89,255,0.35);
}
.btn-primary:hover { opacity: 0.9; box-shadow: 0 6px 20px rgba(162,89,255,0.5); }
.btn-outline {
  border: 1px solid var(--border); color: var(--text-muted);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
