/* =============================================
   Gameloby — MODERN FRESH LIGHT THEME
   Light Sky Blue, Fresh Mint Green & Crisp Pure White
   Silky frosted glass, clean shadows, smooth micro-interactions
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --bg:           #f0f6ff;
  --bg-subtle:    #e8f2fe;
  --bg-card:      #ffffff;
  --bg-elevated:  #ffffff;
  --chrome:       rgba(255, 255, 255, 0.94);
  --border:       rgba(2, 132, 199, 0.15);
  --border-subtle:#e2e8f0;
  --border-glow:  rgba(2, 132, 199, 0.45);

  --text:         #0f172a;
  --text-secondary: #334155;
  --text-muted:   #475569;
  --text-faint:   #64748b;

  --blue:         #0284c7;
  --blue-hover:   #0369a1;
  --blue-light:   #e0f2fe;
  --cyan:         #06b6d4;
  --mint:         #10b981;
  --mint-light:   #ecfdf5;
  --mint-hover:   #059669;
  --volt:         #0284c7;
  --volt-hover:   #0369a1;
  --violet:       #0284c7;
  --violet-l:     #0284c7;
  --orange:       #ea580c;
  --green:        #10b981;
  --red:          #ef4444;

  --grad-primary:  linear-gradient(135deg, #0284c7 0%, #0ea5e9 45%, #10b981 100%);
  --grad-blue:     linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  --grad-mint:     linear-gradient(135deg, #059669 0%, #10b981 100%);
  --grad-cool:     linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  --grad-warm:     linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  --grad-hero:     linear-gradient(135deg, #ffffff 0%, #f0f7ff 50%, #f0fdf4 100%);

  --header-h:     64px;
  --bottom-bar-h: 60px;
  --card-radius:  16px;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --card-shadow:       0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 16px 36px -6px rgba(2, 132, 199, 0.16), 0 8px 16px -4px rgba(2, 132, 199, 0.10);
  --glow-violet:       0 0 20px rgba(2, 132, 199, 0.25);
  --glow-volt:         0 0 20px rgba(2, 132, 199, 0.25);
  --glow-pink:         0 0 20px rgba(16, 185, 129, 0.25);
  --glow-cyan:         0 0 20px rgba(2, 132, 199, 0.25);
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: #f0fcf5;
  /* Removed background-attachment:fixed — causes full repaint every scroll frame */
  background-image: 
    radial-gradient(ellipse at top left, rgba(16, 185, 129, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(2, 132, 199, 0.07) 0%, transparent 55%),
    url('assets/bg_wallpaper.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Scrollbar */
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background: #e8f2fe; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Skip Link */
.skip-link { position:absolute; left:-9999px; top:12px; z-index:9999; background:#ffffff; color:#0284c7; padding:8px 16px; border-radius:8px; font-weight:700; border: 1px solid #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.skip-link:focus { left:12px; }

/* ---- Keyframes ---- */
@keyframes spin-slow      { to { transform: rotate(360deg); } }
@keyframes fade-in-up     { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes slide-in       { from { transform:translateX(-100%); } to { transform:translateX(0); } }
@keyframes grad-shift     { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes pulse-glow     { 0%,100%{opacity:0.4; transform:scale(1)} 50%{opacity:0.8; transform:scale(1.05)} }
@keyframes float-up       { 0%{opacity:0;transform:translateY(20px)} 100%{opacity:1;transform:translateY(0)} }
@keyframes shimmer        { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes orb-drift-1    { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(50px,-30px) scale(1.08)} 66%{transform:translate(-25px,25px) scale(0.96)} }
@keyframes orb-drift-2    { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-40px,25px) scale(1.1)} 66%{transform:translate(30px,-15px) scale(0.92)} }
@keyframes orb-drift-3    { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(25px,40px) scale(1.06)} }
@keyframes marquee        { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes badge-pulse    { 0%,100%{box-shadow:0 0 0 0 rgba(2,132,199,0.35)} 50%{box-shadow:0 0 0 10px rgba(2,132,199,0)} }
@keyframes text-glow      { 0%,100%{text-shadow:0 0 20px rgba(2,132,199,0.25)} 50%{text-shadow:0 0 35px rgba(2,132,199,0.45),0 0 60px rgba(16,185,129,0.25)} }
@keyframes card-shine     { 0% { left:-100%; } 20%,100% { left:200%; } }
@keyframes heart-pop      { 0% { transform: scale(1); } 50% { transform: scale(1.35); } 100% { transform: scale(1); } }

.spin-slow { animation: spin-slow 8s linear infinite; }

/* ---- Ambient Background Orbs (Light Sky Blue & Fresh Mint) ---- */
.ambient-orbs {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  /* Reduced from 90px — heavy GPU cost per orb */
  filter: blur(50px);
  opacity: 0.28;
  /* will-change keeps each orb on its own compositor layer */
  will-change: transform;
}
.ambient-orb:nth-child(1) {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
  top: -12%; left: -6%;
  /* Slower = less work per frame */
  animation: orb-drift-1 30s ease-in-out infinite;
}
.ambient-orb:nth-child(2) {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.20) 0%, transparent 70%);
  top: 40%; right: -8%;
  animation: orb-drift-2 36s ease-in-out infinite;
}
/* Orbs 3 & 4 hidden on mobile to save GPU */
.ambient-orb:nth-child(3) {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
  bottom: -6%; left: 28%;
  animation: orb-drift-3 28s ease-in-out infinite;
}
.ambient-orb:nth-child(4) {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  top: 20%; left: 60%;
  animation: orb-drift-1 32s ease-in-out infinite reverse;
  opacity: 0.18;
}
@media (max-width: 768px) {
  .ambient-orb:nth-child(3),
  .ambient-orb:nth-child(4) { display: none; }
  .ambient-orb { filter: blur(40px); opacity: 0.22; }
}

/* Particle Canvas */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container { max-width:1340px; margin:0 auto; padding:0 16px; position: relative; z-index: 1; }
@media (min-width:640px) { .container { padding:0 24px; } }
@media (min-width:1024px) { .container { padding:0 40px; } }

/* =============================================
   HEADER — Frosted glass crisp light design
   ============================================= */
.site-header {
  position: sticky; top:0; z-index:100; height:var(--header-h);
  /* Slightly more opaque so backdrop-filter needs less blur to look solid */
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}
.header-inner {
  display: flex; align-items:center; gap:8px; height:100%;
}

/* Logo */
.logo-link { display:inline-flex; align-items:center; gap:9px; flex-shrink:0; margin-right:8px; }
.logo-icon {
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:12px;
  background: var(--grad-primary);
  color:#fff; flex-shrink:0;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.logo-link:hover .logo-icon {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}
.logo-text { font-family:var(--font-display); font-size:1.32rem; font-weight:900; color:var(--text); letter-spacing:-.5px; }
.logo-accent {
  background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

@media (max-width: 480px) {
  .logo-text { font-size: 1.15rem; }
  .logo-icon { width: 32px; height: 32px; border-radius: 9px; }
  .logo-link { gap: 6px; margin-right: 4px; }
}
@media (max-width: 360px) {
  .logo-text { font-size: 1.05rem; }
  .logo-icon { width: 28px; height: 28px; border-radius: 8px; }
}

/* Main Nav */
.main-nav { display:none; }
@media (min-width:768px) {
  .main-nav { display:flex; gap:2px; margin-left:14px; }
}
.nav-link {
  display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:10px;
  font-size:.825rem; font-weight:600; color:var(--text-muted);
  transition: all .22s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:hover,
.nav-active {
  color: var(--blue);
  background: rgba(2, 132, 199, 0.08);
}
.nav-link:hover::after,
.nav-active::after {
  width: 60%;
  left: 20%;
}

/* Right Actions */
.header-actions { display:flex; align-items:center; gap:8px; margin-left:auto; }
@media (max-width: 480px) { .header-actions { gap: 6px; } }

/* Unified Single Search Button (Pill on Desktop, Icon on Mobile) */
.search-bar {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted); font-size: .8125rem;
  transition: all .22s;
  cursor: pointer;
}
.search-bar:hover {
  background: #ffffff;
  border-color: var(--blue);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12);
}
.search-placeholder { opacity: .75; }
.search-bar kbd {
  background: #e2e8f0; padding: 2px 6px; border-radius: 4px; font-size: .7rem; font-weight: 700;
  color: #475569; border: 1px solid #cbd5e1;
}

@media (max-width: 767px) {
  .search-bar {
    width: 36px; height: 36px; padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .search-placeholder,
  .search-bar kbd {
    display: none !important;
  }
}

/* Surprise Me Button */
.btn-surprise {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  padding:8px 14px; border-radius:10px;
  background: var(--grad-primary);
  color:#fff; font-size:.8rem; font-weight:700;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-surprise:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}
@media (max-width: 640px) {
  .btn-surprise { padding: 6px 12px; font-size: .75rem; }
}
@media (max-width: 520px) {
  .surprise-text { display: none !important; }
  .btn-surprise {
    width: 36px; height: 36px; padding: 0;
    border-radius: 10px;
  }
}
@media (max-width: 380px) {
  .btn-surprise {
    width: 33px; height: 33px;
  }
}

/* Icon Buttons */
.icon-btn {
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:10px;
  color:var(--text-muted);
  transition: all .2s;
  flex-shrink: 0;
  position: relative;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
}
.icon-btn:hover {
  color: var(--blue);
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}
@media (max-width: 480px) {
  .icon-btn { width: 34px; height: 34px; }
}
@media (max-width: 380px) {
  .icon-btn { width: 32px; height: 32px; }
}

/* Favorites / Wishlist Button & Badge Count */
.wishlist-btn {
  display: flex;
}
.fav-badge-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
  line-height: 1;
}

.mobile-menu-btn { display:flex; }
@media (min-width:768px) { .mobile-menu-btn { display:none; } }

/* =============================================
   MOBILE DRAWER — Clean White Frosted Glass
   ============================================= */
.mobile-drawer { position:fixed; inset:0; z-index:300; pointer-events:none; }
.mobile-drawer.open { pointer-events:all; }
.drawer-overlay { position:absolute; inset:0; background:rgba(15, 23, 42, 0.5); opacity:0; transition:opacity .3s; backdrop-filter: blur(6px); }
.mobile-drawer.open .drawer-overlay { opacity:1; }
.drawer-nav {
  position:absolute; top:0; left:0; width:min(320px, 86vw); height:100%;
  background: #ffffff;
  border-right:1px solid #cbd5e1;
  box-shadow: 20px 0 50px rgba(15, 23, 42, 0.18);
  transform:translateX(-100%); transition:transform .32s cubic-bezier(.4,0,.2,1);
  padding:calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 20px);
  display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.mobile-drawer.open .drawer-nav { transform:translateX(0); }
.drawer-header {
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:14px; border-bottom:1px solid var(--border-subtle); margin-bottom:10px;
}
.drawer-search-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px; border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted); font-size: .85rem;
  margin-bottom: 10px; cursor: pointer;
  transition: all .2s;
}
.drawer-search-btn:hover {
  background: #e2e8f0;
  border-color: var(--blue);
  color: var(--text);
}
.drawer-section-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  color: var(--text-faint); padding: 8px 12px 2px;
}
.drawer-link {
  display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:12px;
  font-weight:600; font-size:.9rem; color:var(--text-secondary); transition:all .2s;
  cursor: pointer;
}
.drawer-link svg { color: var(--blue); }
.drawer-link:hover, .drawer-link:active {
  color: var(--blue); background: rgba(2, 132, 199, 0.08);
  transform: translateX(4px);
}
.drawer-categories {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px 12px;
}
.drawer-cat-chip {
  padding: 6px 12px; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer; transition: all .2s;
}
.drawer-cat-chip:hover, .drawer-cat-chip:active {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}
.drawer-cat-chip.drawer-cat-fav {
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  background: #fff1f2;
}
.drawer-footer {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-subtle);
}
.drawer-surprise-btn {
  width: 100%; justify-content: center; padding: 11px;
}

/* =============================================
   HERO — Light, Airy & Inviting
   ============================================= */
.hero-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 24px 0 20px;
  position: relative;
  overflow: visible;
}
@media (min-width: 900px) {
  .hero-banner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; min-height: 440px; padding: 36px 0 28px; }
}

/* Hero Left */
.hero-left { display:flex; flex-direction:column; justify-content:center; gap:18px; z-index:2; }
.hero-badge {
  display:inline-flex; align-items:center; gap:6px; width:fit-content;
  padding:6px 14px; border-radius:50px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  color: #047857; font-size:.72rem; font-weight:800; letter-spacing:.05em;
  animation: badge-pulse 3s ease-in-out infinite;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}
.hero-title {
  font-family:var(--font-display); font-size:clamp(1.6rem,5vw,3.2rem);
  font-weight:900; line-height:1.15; letter-spacing:-1px;
  color: var(--text);
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    letter-spacing: -0.5px;
    line-height: 1.18;
  }
  .hero-badge {
    font-size: .62rem;
    padding: 4px 10px;
  }
}
.hero-title-accent {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0284c7 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero-desc {
  color:var(--text-muted); font-size:clamp(.875rem, 2vw, 1rem); max-width:480px; line-height:1.65;
}
@media (max-width: 480px) {
  .hero-desc { font-size: .85rem; line-height: 1.55; }
}

/* Hero Stats Box — Light Mint Glass Box */
.hero-stats {
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  padding: 18px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.92) 100%);
  backdrop-filter: blur(16px);
  border: 1.5px solid #a7f3d0;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12), 0 0 18px rgba(16, 185, 129, 0.08);
}
.hero-stat { display:flex; align-items:center; gap:10px; }
.stat-icon { color: #10b981; filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.3)); }
.stat-info { display:flex; flex-direction:column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size:.68rem; font-weight:800; color:#059669; letter-spacing:.08em; margin-top:3px; }
.hero-stat-divider { width:1px; height:32px; background: rgba(16, 185, 129, 0.2); }

@media (max-width: 640px) {
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 10px;
  }
  .hero-stat {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .stat-icon { margin: 0 auto; width: 18px; height: 18px; }
  .stat-num { font-size: 1.15rem; }
  .stat-label { font-size: .58rem; letter-spacing: .04em; }
  .hero-stat-divider { display: none; }
}

/* Hero Right */
.hero-right {
  position:relative; border-radius:20px; overflow:hidden;
  min-height:260px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
@media (max-width: 899px) {
  .hero-right {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    max-height: 380px;
    width: 100%;
  }
}
.hero-char-img {
  width:100%; height:100%; object-fit:cover; object-position: center 20%;
  transition: transform 8s ease;
}
.hero-right:hover .hero-char-img {
  transform: scale(1.05);
}
.hero-overlay-grad {
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(240, 246, 255, 0.75) 0%, rgba(240, 246, 255, 0.1) 40%, transparent 65%);
  pointer-events: none;
}

/* Quick Pick Card */
.quick-pick-card {
  position:absolute; bottom:16px; left:16px; right:16px;
  display:flex; align-items:center; gap:14px;
  padding:12px 16px; border-radius:14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  z-index: 3;
}
@media (max-width: 640px) {
  .quick-pick-card {
    bottom: 12px; left: 12px; right: 12px;
    padding: 10px 12px; gap: 10px;
  }
}
.quick-pick-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.22);
}
.qp-thumb { width:52px; height:52px; border-radius:10px; object-fit:cover; flex-shrink:0; }
@media (max-width: 640px) {
  .qp-thumb { width: 44px; height: 44px; }
}
.qp-info { display:flex; flex-direction:column; gap:2px; min-width:0; }
.qp-label {
  display:inline-flex; align-items:center; gap:4px;
  font-size:.62rem; font-weight:800; letter-spacing:.06em; color:var(--blue);
}
.qp-title { font-family:var(--font-display); font-weight:700; font-size:.92rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.qp-action { font-size:.74rem; color:var(--blue); font-weight:700; }

/* =============================================
   GAME OF THE DAY BANNER — Light Green Showcase Box
   ============================================= */
.gotd-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 45%, #e0f2fe 100%);
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.14), 0 0 18px rgba(16, 185, 129, 0.08);
  margin-bottom: 24px;
}
.gotd-left { display: flex; flex-direction: column; gap: 4px; }
.gotd-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  color: #059669; text-transform: uppercase;
}
.gotd-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #064e3b; }
.gotd-sub { font-size: .82rem; color: #047857; font-weight: 600; }

.gotd-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gotd-countdown { display: flex; align-items: center; gap: 6px; }
.gotd-cd-unit {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 12px; border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: #065f46;
  min-width: 44px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}
.gotd-cd-label { font-size: .55rem; font-weight: 800; color: #10b981; text-transform: uppercase; }
.gotd-cd-sep { font-weight: 800; color: #10b981; }
.gotd-play-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%); color: #ffffff;
  font-size: .82rem; font-weight: 800;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all .22s;
}
.gotd-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45);
}
@media (max-width: 640px) {
  .gotd-banner { padding: 14px 16px; }
  .gotd-right { width: 100%; justify-content: space-between; }
}

/* =============================================
   LIVE PLAYER COUNT BAR — Soft Mint Background
   ============================================= */
.live-bar {
  padding: 10px 0;
  overflow: hidden;
  background: #ecfdf5;
  border-top: 1.5px solid #a7f3d0;
  border-bottom: 1.5px solid #a7f3d0;
  margin-bottom: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28px, black calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 28px, black calc(100% - 28px), transparent 100%);
}
.live-bar-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.live-item {
  color: #065f46;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.live-item strong {
  color: #047857;
  font-weight: 800;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-glow 2s infinite;
}
.live-bar-track { animation: marquee 30s linear infinite;
  width: max-content;
}
.live-bar:hover .live-bar-track,
.live-bar:active .live-bar-track {
  animation-play-state: paused;
}
.live-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(16,185,129,0.7);
  animation: pulse-glow 2s ease-in-out infinite;
}
.live-item strong { color: var(--text); }

/* =============================================
   CATEGORY CHIPS
   ============================================= */
.category-chips-row {
  padding: 14px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-chips-row::-webkit-scrollbar { display: none; }
.category-chips {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  width: max-content;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .8125rem;
  font-weight: 700;
  background: #ecfdf5;
  backdrop-filter: blur(12px);
  border: 1.5px solid #a7f3d0;
  color: #065f46;
  white-space: nowrap;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  user-select: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}
.chip:hover {
  border-color: #10b981;
  color: #047857;
  background: #d1fae5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.22);
}
.chip-active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4) !important;
}
.chip-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.5) !important;
}
.chip-fav {
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  background: #fff1f2;
}
.chip-fav svg { stroke: #ef4444; }
.chip-fav:hover {
  border-color: #ef4444;
  background: #fee2e2;
  color: #dc2626;
}

/* =============================================
   SECTION HEADING
   ============================================= */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 16px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: #064e3b;
  letter-spacing: -.3px;
}
.section-badge-counter {
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 50px;
  background: #ecfdf5;
  color: #047857;
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.16);
}

/* =============================================
   HOT RIGHT NOW SECTION
   ============================================= */
.hot-row-section { padding-bottom: 8px; }
.hot-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hot-scroll-row::-webkit-scrollbar { display: none; }
.hot-card {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08);
  cursor: pointer;
  transition: all .28s cubic-bezier(.4,0,.2,1);
}
.hot-card:hover {
  border-color: #10b981;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.22), 0 0 18px rgba(2, 132, 199, 0.15);
}
.hot-card-img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  display: block; transition: transform .35s ease;
}
.hot-card:hover .hot-card-img { transform: scale(1.06); }
.hot-card-rank {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-size: .78rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  padding: 2px 7px; border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.hot-trend-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: .65rem; font-weight: 800;
  background: #ecfdf5; color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px; border-radius: 6px;
}
.hot-card-info {
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.hot-card-title {
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hot-card-stat {
  font-size: .72rem; color: var(--text-faint); display: flex; align-items: center; gap: 5px;
}

/* =============================================
   GAME GRID & CARDS (.gcard) — Fixed CSS error & Light Theme
   ============================================= */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
}
@media (max-width: 640px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .game-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.gcard {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px -2px rgba(16, 185, 129, 0.1), 0 2px 8px -1px rgba(2, 132, 199, 0.06);
}
.gcard::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: none;
  z-index: 5;
  pointer-events: none;
}

/* Card Hover States */
@media (hover: hover) and (pointer: fine) {
  .gcard:hover {
    border-color: #10b981;
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -4px rgba(16, 185, 129, 0.28), 0 0 24px rgba(16, 185, 129, 0.18);
  }
}

.gcard-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}
.gcard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .gcard:hover .gcard-img-wrap img {
    transform: scale(1.05);
  }
}

/* Card Favorite Button */
.card-fav-btn {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 6;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
}
.card-fav-btn:hover {
  transform: scale(1.12);
  background: #ffffff;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
.card-fav-btn.is-favorite {
  background: #fff1f2;
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  animation: heart-pop .35s ease;
}
.card-fav-btn.is-favorite svg {
  fill: #ef4444;
  stroke: #ef4444;
}

/* Badges */
.badge {
  position: absolute;
  top: 8px; left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 50px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  z-index: 4;
}
.badge-hot {
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(249,115,22,0.3);
}
.badge-new {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16,185,129,0.35);
}
.badge-pc {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.gcard-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(236, 253, 245, 0.55) 100%);
}
@media (max-width: 640px) {
  .gcard-body { padding: 10px 10px 12px; gap: 6px; }
}
.gcard-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .98rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.gcard:hover .gcard-title {
  color: #059669;
}
@media (max-width: 640px) {
  .gcard-title { font-size: .88rem; }
}
.gcard-pc-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .65rem; font-weight: 700; color: #0284c7;
}
.gcard-rating {
  display: flex; align-items: center; gap: 6px; font-size: .75rem;
}
.stars { color: #f59e0b; letter-spacing: 1px; font-size: .78rem; }
.rating-val { font-weight: 800; color: #0f172a; }
.rating-count {
  color: #059669;
  font-weight: 800;
  font-size: .72rem;
  background: #ecfdf5;
  padding: 1px 8px;
  border-radius: 50px;
  border: 1.5px solid #a7f3d0;
}

/* Play Button */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--grad-primary);
  color: #ffffff;
  font-size: .8rem;
  font-weight: 700;
  width: 100%;
  min-height: 38px;
  justify-content: center;
  transition: all .22s;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.25);
  margin-top: auto;
  cursor: pointer;
}
.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
}
.btn-play:active {
  transform: translateY(1px);
}
@media (max-width: 480px) {
  .btn-play { padding: 6px 10px; font-size: .74rem; min-height: 34px; }
}

/* =============================================
   SPOTLIGHT SECTION — Featured game
   ============================================= */
.spotlight-section { padding: 20px 0 16px; }
.spotlight-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 244, 0.95) 100%);
  backdrop-filter: blur(16px);
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 12px 38px rgba(16, 185, 129, 0.14), 0 0 25px rgba(16, 185, 129, 0.1);
  transition: all .35s;
}
.spotlight-card:hover {
  border-color: #10b981;
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.22), 0 0 35px rgba(16, 185, 129, 0.25);
}
@media (min-width: 860px) {
  .spotlight-card { grid-template-columns: 1.05fr 0.95fr; }
}
.spotlight-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 220px;
}
@media (min-width: 860px) {
  .spotlight-media { aspect-ratio: auto; min-height: 100%; }
}
.spotlight-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease;
}
.spotlight-card:hover .spotlight-img { transform: scale(1.05); }
.spotlight-badge {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 50px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff; font-size: .68rem; font-weight: 800;
  z-index: 3; box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
}
.spotlight-play-overlay-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 78, 59, 0.25);
  opacity: 0; transition: opacity .25s;
  z-index: 2;
}
.spotlight-play-overlay-btn svg {
  padding: 16px; border-radius: 50%;
  background: #ffffff; color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: transform 0.25s;
}
.spotlight-card:hover .spotlight-play-overlay-btn { opacity: 1; }
.spotlight-play-overlay-btn:hover svg { transform: scale(1.12); }

.spotlight-body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
}
@media (max-width: 640px) {
  .spotlight-body { padding: 18px 16px; gap: 10px; }
}
.spotlight-meta-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spotlight-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px;
  font-size: .68rem; font-weight: 700;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  color: #047857;
}
.tag-gradient {
  background: #d1fae5; border-color: rgba(16, 185, 129, 0.35); color: #065f46;
}
.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900; letter-spacing: -.5px; color: #064e3b;
}
.spotlight-rating-row { display: flex; align-items: center; gap: 8px; }
.spotlight-score { font-weight: 800; font-size: .88rem; color: #064e3b; }
.spotlight-players { color: #059669; font-size: .78rem; font-weight: 600; }
.spotlight-description { color: #334155; font-size: .86rem; line-height: 1.65; }

.spotlight-perks { display: flex; flex-direction: column; gap: 7px; margin: 4px 0; }
.perk-item { display: flex; align-items: center; gap: 9px; font-size: .78rem; color: #1e293b; font-weight: 500; }
.perk-icon { color: #10b981; flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3)); }

.spotlight-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn-spotlight-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%); color: #ffffff;
  font-size: .85rem; font-weight: 800;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38);
  transition: all .22s;
}
.btn-spotlight-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}
.btn-spotlight-fav {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px;
  background: #fff1f2; border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444; font-size: .82rem; font-weight: 700;
  transition: all .22s;
  cursor: pointer;
}
.btn-spotlight-fav:hover {
  background: #fee2e2; transform: translateY(-2px);
}
.btn-spotlight-fav.is-favorite {
  background: #ef4444; color: #ffffff;
}
.btn-spotlight-fav.is-favorite svg { fill: #ffffff; stroke: #ffffff; }

.btn-spotlight-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  background: #f8fafc; border: 1px solid #cbd5e1;
  color: var(--text-secondary); font-size: .82rem; font-weight: 600;
  transition: all .22s;
}
.btn-spotlight-secondary:hover {
  background: #f1f5f9; color: var(--text); border-color: var(--blue);
}

/* =============================================
   MOOD FINDER SECTION
   ============================================= */
.mood-section { padding-bottom: 12px; }
.mood-card {
  padding: 24px; border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.12);
}
.mood-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mood-emoji {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #ecfdf5; border: 1.5px solid #a7f3d0;
  color: #059669; flex-shrink: 0;
}
.mood-title { font-family: var(--font-display); font-size: clamp(1rem, 3vw, 1.25rem); font-weight: 800; color: #064e3b; }
.mood-sub { font-size: .82rem; color: #047857; font-weight: 600; }
.mood-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.mood-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 50px;
  background: #ecfdf5; border: 1.5px solid #a7f3d0;
  color: #065f46; font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: all .22s;
}
.mood-btn:hover {
  background: #d1fae5; border-color: #10b981; color: #047857;
  transform: translateY(-2px);
}
.mood-btn.selected {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%); border-color: transparent;
  color: #ffffff !important; font-weight: 800;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.mood-btn.selected svg { stroke: #ffffff; }

.mood-result {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-subtle);
}
.mood-result-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 14px; border-radius: 14px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
}
.mood-result-img {
  width: 86px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  border: 1px solid #86efac;
}
.mood-result-text { display: flex; flex-direction: column; gap: 3px; }
.mood-result-label { font-size: .6rem; font-weight: 800; letter-spacing: .08em; color: #059669; text-transform: uppercase; }
.mood-result-game { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.mood-result-reason { font-size: .78rem; color: var(--text-muted); }
.mood-result-play {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 8px;
  background: var(--grad-primary); color: #ffffff;
  font-size: .78rem; font-weight: 700; border: none; cursor: pointer;
  margin-top: 6px; width: fit-content;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
  transition: all .2s;
}
.mood-result-play:hover { transform: translateY(-1px); }

/* =============================================
   GENRE SPOTLIGHT ROWS (Netflix-style)
   ============================================= */
.genre-rows-section { padding-bottom: 12px; }
.genre-row { margin-bottom: 8px; }
.genre-scroll-row {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.genre-scroll-row::-webkit-scrollbar { display: none; }
.genre-card {
  position: relative; flex-shrink: 0;
  width: 200px; border-radius: 14px; overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.22);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.08);
  transition: all .28s cubic-bezier(.4,0,.2,1);
}
.genre-card:hover {
  border-color: #10b981;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.22), 0 0 18px rgba(2, 132, 199, 0.15);
}
.genre-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
  transition: transform .35s;
}
.genre-card:hover img { transform: scale(1.06); }
.genre-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 12px; opacity: 0; transition: opacity .25s;
}
.genre-card:hover .genre-card-overlay { opacity: 1; }
@media (hover: none) { .genre-card-overlay { opacity: 1; } }
.genre-card-overlay span {
  font-family: var(--font-display); font-size: .84rem; font-weight: 700;
  color: #ffffff; margin-bottom: 6px; line-height: 1.2;
}
.genre-play-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 6px;
  background: var(--grad-primary); color: #ffffff;
  font-size: .72rem; font-weight: 700; border: none; cursor: pointer;
}
@media (max-width: 560px) {
  .genre-card { width: 160px; }
}

/* =============================================
   GAME PLAYER MODAL
   ============================================= */
.game-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.game-modal.open { opacity: 1; pointer-events: all; }
.game-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
}
.game-modal-container {
  position: relative; z-index: 2;
  width: min(1040px, 94vw);
  height: min(84vh, 760px);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: scale(0.96); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.game-modal.open .game-modal-container { transform: scale(1); }
.game-modal.is-fullscreen .game-modal-container {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  border-radius: 0; border: none;
}

.game-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; border-bottom: 1px solid var(--border-subtle);
  background: #f8fafc; flex-shrink: 0;
}
.game-modal-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.modal-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 50px;
  background: #ecfdf5; border: 1px solid rgba(16,185,129,0.3);
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: var(--mint);
  flex-shrink: 0;
}
.game-modal-title {
  font-family: var(--font-display); font-size: clamp(.88rem, 2.5vw, 1.05rem);
  font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-modal-actions { display: flex; gap: 6px; flex-shrink: 0; }
.modal-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  color: var(--text-muted); transition: all .2s;
  background: #ffffff; border: 1px solid var(--border-subtle);
}
.modal-btn:hover { color: var(--blue); background: #f0f9ff; border-color: var(--blue); }
.modal-fav-btn.is-favorite { background: #fff1f2; border-color: rgba(239, 68, 68, 0.4); color: #ef4444; }
.modal-fav-btn.is-favorite svg { fill: #ef4444; stroke: #ef4444; }
.modal-close:hover { background: #fee2e2; color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }

/* Frame Box */
.game-frame-box {
  flex: 1 1 auto; min-height: 360px; width: 100%; position: relative;
  background: #0f172a; display: flex;
}
.game-frame-box iframe {
  display: block; width: 100%; height: 100%; min-height: 360px; border: none; flex: 1;
}

/* Tutorial Overlay inside Modal */
.game-tutorial-card {
  position: absolute; bottom: 20px; right: 20px;
  max-width: 420px; width: calc(100% - 40px);
  background: #ffffff; border: 1px solid #cbd5e1;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  border-radius: 16px; padding: 16px 18px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
  animation: tutSlideUp .3s cubic-bezier(.16,1,.3,1);
}
@keyframes tutSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.tut-card-top { display: flex; align-items: center; justify-content: space-between; }
.tut-card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 50px;
  background: #e0f2fe; border: 1px solid rgba(2, 132, 199, 0.3);
  color: var(--blue); font-size: .66rem; font-weight: 800; letter-spacing: .06em;
}
.tut-card-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); animation: pulseDot 1.4s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}
.tut-card-close {
  background: #f1f5f9; border: 1px solid transparent; color: var(--text-muted);
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: .75rem; cursor: pointer; transition: all .2s;
}
.tut-card-close:hover { color: #ef4444; background: #fee2e2; }
.tut-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.tut-card-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.tut-card-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tut-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--text-secondary);
  background: #f8fafc; padding: 4px 9px; border-radius: 8px;
  border: 1px solid var(--border-subtle);
}
.tut-pill kbd {
  background: #e0f2fe; color: var(--blue); font-weight: 700;
  font-size: .66rem; padding: 1px 5px; border-radius: 4px; border: 1px solid rgba(2, 132, 199, 0.3);
}
.tut-card-footer { display: flex; justify-content: flex-end; margin-top: 4px; }
.tut-card-play-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 10px;
  background: var(--grad-primary); color: #ffffff;
  font-weight: 700; font-size: .78rem; cursor: pointer;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.28);
}

/* Modal Footer — Hidden in Fullscreen & Collapsed */
.game-modal-footer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 14px 20px; border-top: 1px solid var(--border-subtle);
  background: #f8fafc; flex-shrink: 0;
}
.game-modal.footer-collapsed .game-modal-footer,
.game-modal.is-fullscreen .game-modal-footer {
  display: none !important;
}

/* Mobile: ALWAYS Instant 100% Fullscreen, Edge-to-Edge Gameplay */
@media (max-width: 768px) {
  .game-modal-container {
    width: 100vw !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
  }
  .game-modal-header {
    padding: 6px 12px;
    height: 44px;
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    flex-shrink: 0;
  }
  .game-frame-box {
    flex: 1 1 100% !important;
    height: calc(100dvh - 44px) !important;
    min-height: 0 !important;
  }
  .game-frame-box iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }
  /* By default on mobile, completely remove the description footer */
  .game-modal-footer {
    display: none !important;
  }
  /* Optional bottom sheet if user explicitly taps (i) info button */
  .game-modal.show-info .game-modal-footer {
    display: grid !important;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 120;
    max-height: 45vh;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 0 -12px 35px rgba(15, 23, 42, 0.25);
    border-top: 2px solid var(--blue);
    padding: 14px 16px calc(env(safe-area-inset-bottom) + 14px);
  }
}
.modal-sec-title { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: var(--text); }
.modal-sec-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.55; }
.control-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.control-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; color: var(--text-secondary);
}
.control-pill kbd {
  background: #ffffff; padding: 2px 7px; border-radius: 5px;
  font-size: .68rem; font-weight: 700; border: 1px solid #cbd5e1;
}

/* =============================================
   FAVORITES MODAL
   ============================================= */
.favorites-modal {
  position: fixed; inset: 0; z-index: 600;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  padding: 16px;
}
.favorites-modal.open { opacity: 1; pointer-events: all; }
.favorites-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
}
.favorites-modal-inner {
  position: relative; z-index: 2;
  width: min(620px, 94vw);
  max-height: min(80vh, 640px);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.favorites-modal.open .favorites-modal-inner { transform: translateY(0) scale(1); }

.favorites-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border-subtle);
  background: #f8fafc;
}
.fav-header-info { display: flex; align-items: center; gap: 12px; }
.fav-header-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: #fff1f2; border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fav-modal-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--text); }
.fav-modal-sub { font-size: .75rem; color: var(--text-muted); }
.fav-count-pill {
  padding: 3px 10px; border-radius: 50px;
  background: #e0f2fe; color: #0284c7;
  font-size: .7rem; font-weight: 700;
}
.fav-modal-close {
  width: 32px; height: 32px; border-radius: 8px;
}

.favorites-modal-body {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.fav-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 14px;
  background: #f8fafc; border: 1px solid var(--border-subtle);
  transition: all .2s;
}
.fav-item:hover {
  background: #f0f9ff; border-color: var(--blue);
  transform: translateX(4px);
}
.fav-thumb {
  width: 54px; height: 42px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
}
.fav-info { flex: 1; min-width: 0; }
.fav-name { font-weight: 700; font-size: .92rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-cat { font-size: .74rem; color: var(--text-faint); }
.fav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fav-play-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 8px;
  background: var(--grad-primary); color: #ffffff;
  font-size: .78rem; font-weight: 700; border: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transition: all .2s;
}
.fav-play-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35); }
.fav-remove-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #ef4444; background: #fff1f2; border: 1px solid rgba(239, 68, 68, 0.25);
  cursor: pointer; transition: all .2s;
}
.fav-remove-btn:hover {
  background: #fee2e2; transform: scale(1.08);
}
.fav-empty-state {
  text-align: center; padding: 40px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.fav-empty-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff1f2; color: #ef4444;
  display: flex; align-items: center; justify-content: center;
}
.fav-empty-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--text); }
.fav-empty-desc { font-size: .84rem; color: var(--text-muted); max-width: 320px; }
.fav-browse-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 10px;
  background: var(--grad-primary); color: #ffffff;
  font-size: .82rem; font-weight: 700; margin-top: 6px;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.28);
}
.grid-empty-fav-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1.5px dashed rgba(2, 132, 199, 0.35);
  border-radius: var(--card-radius);
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 600;
  box-shadow: var(--card-shadow);
}

/* =============================================
   SEARCH MODAL — Clean Crisp Light Overlay
   ============================================= */
.search-modal {
  position: fixed; inset: 0; z-index: 600;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: min(12vh, 100px);
  padding-left: 12px; padding-right: 12px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.search-modal.open { opacity: 1; pointer-events: all; }
.search-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
}
.search-modal-inner {
  position: relative; z-index: 2;
  width: min(580px, 94vw);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  transform: translateY(-20px) scale(0.97);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.search-modal.open .search-modal-inner { transform: translateY(0) scale(1); }
.search-input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: #f8fafc;
}
.search-input-wrap svg { color: var(--text-faint); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: var(--font-body); font-size: 16px;
}
.search-input-wrap input::placeholder { color: var(--text-faint); }
.search-input-wrap kbd {
  background: #e2e8f0; padding: 4px 8px; border-radius: 6px;
  font-size: .75rem; color: var(--text-faint); border: 1px solid #cbd5e1;
}
@media (max-width: 480px) {
  .search-input-wrap kbd { display: none; }
}
.search-results {
  max-height: min(380px, 45vh); overflow-y: auto;
  padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.search-hint {
  text-align: center; padding: 24px 16px;
  color: var(--text-faint); font-size: .85rem;
}
.search-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px;
  background: #f8fafc;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
}
.search-item:hover, .search-item:active {
  background: #f0f9ff;
  border-color: var(--blue);
  transform: translateX(4px);
}
.search-thumb {
  width: 48px; height: 36px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.search-meta { flex: 1; min-width: 0; }
.search-name { font-weight: 700; font-size: .88rem; color: var(--text); }
.search-cat { font-size: .72rem; color: var(--text-faint); }
.search-play-btn {
  padding: 6px 14px; border-radius: 50px;
  background: var(--grad-primary); border: none;
  color: #fff; font-size: .75rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0;
}

/* =============================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================= */
.mobile-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 250;
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .mobile-bottom-bar { display: none; }
}
@media (max-width: 767px) {
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }
}
.bottom-bar-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: .65rem; font-weight: 600;
  color: var(--text-muted); padding: 4px 10px;
  transition: all .2s;
}
.bottom-bar-item svg { width: 18px; height: 18px; }
.bottom-bar-item:hover,
.bottom-bar-active {
  color: var(--blue);
}
.bottom-bar-surprise-glow {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transform: translateY(-8px);
}

/* =============================================
   FOOTER — Crisp Light Theme
   ============================================= */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 0 24px;
}
@media (min-width: 768px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2.8fr;
    gap: 48px;
    align-items: start;
  }
}
.footer-brand {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-tagline {
  color: var(--text-muted); font-size: .85rem; max-width: 340px; line-height: 1.5;
}
.footer-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer-col-title {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  color: var(--text); margin-bottom: 2px;
}
.footer-col a {
  font-size: .8rem; color: var(--text-muted);
  transition: color .2s, padding-left .2s;
  white-space: nowrap;
}
.footer-col a:hover {
  color: var(--blue); padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid #f1f5f9; padding: 16px 0; text-align: center;
  font-size: .75rem; color: var(--text-faint);
}
@media (max-width: 767px) {
  .footer-bottom {
    padding-bottom: calc(var(--bottom-bar-h, 60px) + env(safe-area-inset-bottom, 0px) + 16px);
  }
}

/* =============================================
   ACHIEVEMENT OVERLAY
   ============================================= */
@keyframes achievement-slide {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes achievement-hide {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}
.achievement-overlay {
  position: fixed; top: calc(var(--header-h) + 12px); right: 16px;
  z-index: 9990;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.35);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(110%);
  max-width: min(320px, calc(100vw - 32px));
}
.achievement-overlay.show {
  animation: achievement-slide .5s cubic-bezier(.34,1.56,.64,1) forwards;
}
.achievement-overlay.hide {
  animation: achievement-hide .4s ease forwards;
}
.achievement-icon-wrap {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  animation: pulse-glow 2s ease-in-out infinite;
}
.achievement-text {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.achievement-label {
  font-size: .58rem; font-weight: 800; letter-spacing: .1em;
  color: var(--blue); text-transform: uppercase;
}
.achievement-name {
  font-family: var(--font-display); font-size: .92rem; font-weight: 800;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 480px) {
  .achievement-overlay {
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px) + 8px);
    right: 12px; left: 12px;
    max-width: none;
    transform: translateY(120%);
  }
}

/* =============================================
   INFO, LEGAL & CONTACT PAGES (Gameloby Theme)
   ============================================= */
.info-page-wrap {
  max-width: 1040px;
  margin: 36px auto 90px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.info-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: var(--blue-light);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.info-breadcrumbs:hover {
  background: #bae6fd;
  transform: translateX(-3px);
  color: var(--blue-hover);
}

.info-hero {
  margin-bottom: 32px;
}
.info-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.info-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 10px;
}
.info-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.6;
}
.info-updated-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: clamp(24px, 4vw, 44px);
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.98rem;
}

.info-section {
  margin-bottom: 34px;
}
.info-section:last-child {
  margin-bottom: 0;
}
.info-section h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.info-section h2 .sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}
.info-section p {
  margin-bottom: 14px;
  color: var(--text-secondary);
}
.info-section ul {
  padding-left: 24px;
  margin-bottom: 14px;
}
.info-section li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.info-section strong {
  color: var(--text);
}

.info-highlight-box {
  background: var(--bg-subtle);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 18px 0;
  color: var(--text);
}
.info-highlight-box strong {
  color: var(--blue-hover);
}

.info-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s;
}
.info-link:hover {
  color: var(--blue-hover);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.08);
}
.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.contact-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.contact-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-hover);
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.contact-email-badge:hover {
  background: var(--blue-light);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.form-textarea {
  min-height: 130px;
  resize: vertical;
}
.btn-submit-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
}
.form-toast {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-toast-success {
  background: var(--mint-light);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* FAQ Accordion */
.faq-wrap {
  margin-top: 36px;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question:hover {
  background: var(--bg-subtle);
}
.faq-arrow {
  transition: transform 0.2s;
  color: var(--text-faint);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--blue);
}
.faq-answer {
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

