/* ==========================================================================
   🎮 PLAYSNACK GAMES - SUPER DESIGN SYSTEM (style.css)
   Synthesized from 15 Top Global Gaming Portals
   100% Static CDN Ready | Desktop, Tablet & Mobile Responsive | Ad-Free UI
   ========================================================================== */

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

:root {
  /* Core Palette (Deep Obsidian & Cosmic Indigo) */
  --bg-main: #080b14;
  --bg-elevated: #0f1424;
  --bg-card: #151c32;
  --bg-card-hover: #1d2642;
  --bg-glass: rgba(15, 20, 36, 0.82);
  --bg-sidebar: #0b0f1c;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-neon: rgba(6, 182, 212, 0.5);

  /* Brand & Accent Colors */
  --primary: #6366f1;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --amber: #f59e0b;
  --emerald: #10b981;
  --flame: #ff5722;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #ec4899 100%);
  --grad-quest: linear-gradient(90deg, #3b0764 0%, #4c1d95 45%, #1e1b4b 100%);
  --grad-story: linear-gradient(45deg, #f59e0b, #ec4899, #8b5cf6, #06b6d4);
  --grad-hot: linear-gradient(135deg, #ff5722 0%, #f59e0b 100%);
  --grad-new: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-top: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Layout Dimensions */
  --sidebar-w: 74px;
  --sidebar-expanded-w: 220px;
  --header-h: 70px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --ease-out: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 14px 35px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 10px 30px -8px rgba(99, 102, 241, 0.45);
}

/* ================= Reset & Global ================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
  padding-left: var(--sidebar-w);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.1) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* ================= Left Collapsible Icon Sidebar ================= */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.app-sidebar::-webkit-scrollbar {
  display: none;
}

.app-sidebar:hover {
  width: var(--sidebar-expanded-w);
  box-shadow: 15px 0 40px rgba(0, 0, 0, 0.7);
  border-right-color: var(--border-highlight);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.1rem;
  margin-bottom: 1.5rem;
  min-height: 44px;
  white-space: nowrap;
}

.logo-gem {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.5);
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.app-sidebar:hover .logo-wordmark {
  opacity: 1;
}

.logo-wordmark span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.65rem;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.65rem 0.85rem;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--ease-out);
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.side-link.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.22) 0%, rgba(6, 182, 212, 0.08) 100%);
  color: #fff;
  border-left: 3px solid var(--cyan);
}

.side-icon {
  width: 26px;
  min-width: 26px;
  text-align: center;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-text {
  opacity: 0;
  transition: opacity 0.18s ease;
}

.app-sidebar:hover .side-text {
  opacity: 1;
}

/* ================= Sticky Top Header ================= */
.top-header {
  position: sticky;
  top: 0;
  z-index: 150;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-brand-mobile {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
}

.header-brand-mobile span {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Smart Search Box with `/` Shortcut & Live Dropdown */
.search-box-wrap {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.search-field {
  width: 100%;
  height: 44px;
  padding: 0 3.2rem 0 2.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--ease-out);
}

.search-field::placeholder {
  color: #64748b;
}

.search-field:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
  outline: none;
}

.search-loupe {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
}

.search-kbd {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  pointer-events: none;
}

/* Instant Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  padding: 0.6rem;
  display: none;
  max-height: 380px;
  overflow-y: auto;
  z-index: 300;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: var(--ease-out);
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-result-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.search-result-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.search-result-info span {
  font-size: 0.76rem;
  color: #94a3b8;
}

/* Header Action Buttons */
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.action-pill {
  height: 40px;
  padding: 0 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: var(--ease-out);
  position: relative;
}

.action-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
  transform: translateY(-2px);
  color: #fff;
}

.action-pill.vault-btn {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.3);
  color: #fbcfe8;
}

.action-pill.vault-btn:hover {
  background: rgba(236, 72, 153, 0.25);
  border-color: var(--pink);
}

.action-pill.install-btn {
  background: var(--grad-brand);
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.count-dot {
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.08rem 0.42rem;
  border-radius: var(--radius-full);
}

/* ================= Main Content Container ================= */
.portal-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 4rem;
}

/* ================= 1. Daily Quest Gamification Banner (Masked Games style) ================= */
.quest-banner {
  background: var(--grad-quest);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(88, 28, 135, 0.6);
}

.quest-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quest-mascot {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}

.quest-text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quest-text h3 span {
  color: #fde047;
}

.quest-text p {
  font-size: 0.82rem;
  color: #d8b4fe;
}

.quest-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quest-slots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.quest-slot {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  filter: grayscale(1);
  opacity: 0.45;
  transition: var(--ease-out);
}

.quest-slot.unlocked {
  filter: grayscale(0);
  opacity: 1;
  background: rgba(250, 204, 21, 0.2);
  border: 1px solid #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
  transform: scale(1.06);
}

.quest-counter {
  background: rgba(0, 0, 0, 0.45);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fde047;
}

.quest-cta {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: #a3e635;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.84rem;
  transition: var(--ease-out);
}

.quest-cta:hover {
  background: #bef264;
  transform: scale(1.04);
}

/* ================= 2. Circular "Trending Stories" Bar (6woo style) ================= */
.stories-section {
  margin-bottom: 1.75rem;
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.sec-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.sec-sub {
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.stories-track-wrap {
  position: relative;
}

.stories-track {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  overflow-x: auto;
  padding: 0.35rem 0.2rem;
  scrollbar-width: none;
}

.stories-track::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 78px;
  cursor: pointer;
  transition: var(--ease-out);
}

.story-item:hover {
  transform: translateY(-4px);
}

.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: var(--grad-story);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
  position: relative;
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-main);
}

.story-live-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--flame);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  border: 2px solid var(--bg-main);
}

.story-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #cbd5e1;
  max-width: 78px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* ================= 3. Quick Category Icon Tags (G55 & Masked Games style) ================= */
.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.65rem;
  scrollbar-width: none;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--ease-out);
}

.cat-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  color: #fff;
  transform: translateY(-2px);
}

.cat-pill.active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.cat-pill .pill-count {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.42rem;
  border-radius: 6px;
}

/* ================= 4. Asymmetric "Bento Grid" Showcase (Poki / Zazgames / Play-Games) ================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  grid-auto-rows: 175px;
  grid-auto-flow: dense;
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}

.game-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: var(--ease-out);
  display: flex;
  flex-direction: column;
}

/* 2x2 Large Featured Bento Card */
.game-tile.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.game-tile:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: var(--cyan);
  box-shadow: 0 16px 35px -8px rgba(6, 182, 212, 0.4);
  z-index: 5;
}

.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-tile:hover .tile-img {
  transform: scale(1.09);
}

/* Corner Badges (HOT, NEW, TOP, 2 PLAYER) */
.tile-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  padding: 0.24rem 0.6rem;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-hot { background: var(--grad-hot); }
.badge-new { background: var(--grad-new); }
.badge-top { background: var(--grad-top); }
.badge-classic { background: rgba(15, 23, 42, 0.88); border: 1px solid var(--cyan); color: var(--cyan); }

/* Favorite Heart Quick Toggle on Card */
.tile-fav-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(9, 13, 22, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--ease-out);
}

.game-tile:hover .tile-fav-btn,
.tile-fav-btn.is-fav {
  opacity: 1;
  transform: scale(1);
}

.tile-fav-btn:hover {
  background: rgba(236, 72, 153, 0.3);
  border-color: var(--pink);
}

/* Gradient Bottom Overlay with Title & Play-Games.com Metrics */
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 9, 18, 0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  transition: var(--ease-out);
}

.tile-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.game-tile.bento-large .tile-title {
  font-size: 1.4rem;
}

.tile-metrics {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
}

.metric-plays {
  color: var(--cyan);
}

.metric-rating {
  color: #fbbf24;
}

/* ================= 5. Y8 & Silvergames Category Banner Rows ================= */
.category-showcase-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
  align-items: stretch;
}

.cat-hero-card {
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--ease-out);
}

.cat-hero-card:hover {
  transform: translateY(-4px);
}

.cat-hero-action { background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%); }
.cat-hero-racing { background: linear-gradient(135deg, #ea580c 0%, #e11d48 100%); }
.cat-hero-puzzle { background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%); }
.cat-hero-sports { background: linear-gradient(135deg, #16a34a 0%, #059669 100%); }

.cat-hero-icon {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.cat-hero-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
}

.cat-hero-count {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-top: 0.25rem;
}

.cat-hero-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.cat-row-scroller {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  grid-auto-rows: 175px;
  gap: 1rem;
}

/* ================= 6. VG-Style Dual "Top 6 Leaderboards" ================= */
.leaderboards-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.75rem 0;
}

.leaderboard-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.lb-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lb-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.lb-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lb-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  transition: var(--ease-out);
}

.lb-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

.lb-rank {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: #94a3b8;
}

.lb-item:nth-child(1) .lb-rank { background: linear-gradient(135deg, #facc15, #ea580c); color: #090d16; }
.lb-item:nth-child(2) .lb-rank { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #090d16; }
.lb-item:nth-child(3) .lb-rank { background: linear-gradient(135deg, #f59e0b, #b45309); color: #fff; }

.lb-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.lb-info {
  flex: 1;
  min-width: 0;
}

.lb-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-info-meta {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.lb-play-btn {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  transition: var(--ease-out);
}

.lb-item:hover .lb-play-btn {
  background: var(--cyan);
  color: #080b14;
}

/* ================= 7. Slide-out Drawer (GameVault & Recently Played) ================= */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-highlight);
  z-index: 450;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8);
}

.side-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ================= 8. Theater-Mode Game Player Page (play.html) ================= */
.play-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 1.5rem;
  align-items: start;
}

.play-layout.theater-active {
  grid-template-columns: 1fr;
}

.play-layout.theater-active .play-sidebar {
  display: none;
}

.stage-card {
  background: #04060c;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stage-viewport {
  width: 100%;
  height: 620px;
  background: #000;
  position: relative;
}

/* Fullscreen Engine for Stage Card */
.stage-card:fullscreen,
.stage-card:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  background: #000 !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stage-card:fullscreen .stage-viewport,
.stage-card:-webkit-full-screen .stage-viewport {
  flex: 1 1 auto !important;
  height: calc(100vh - 65px) !important;
  max-height: calc(100vh - 65px) !important;
  width: 100% !important;
}

.stage-card:fullscreen .stage-bar,
.stage-card:-webkit-full-screen .stage-bar {
  flex-shrink: 0 !important;
  height: 65px !important;
  padding: 0.6rem 1.25rem !important;
  background: rgba(10, 14, 26, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.play-layout.theater-active .stage-viewport {
  height: 78vh;
}

.stage-viewport iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.stage-bar {
  background: var(--bg-elevated);
  padding: 0.9rem 1.35rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.stage-game-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.stage-game-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

.stage-game-title h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.stage-game-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.stage-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

/* Interactive 5-Star Rating Widget (DL-Girls inspiration) */
.star-rater {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.star-btn {
  font-size: 1rem;
  color: #475569;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-btn.lit,
.star-btn:hover {
  color: #facc15;
  transform: scale(1.2);
}

.ctrl-btn {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--ease-out);
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--cyan);
  color: #fff;
}

.ctrl-btn.primary-ctrl {
  background: var(--grad-brand);
  border: none;
  color: #fff;
}

/* Game Info & Guide Panel */
.guide-panel {
  margin-top: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.guide-panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: #fff;
}

.guide-panel p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag-chip {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
}

/* Right Sidebar Bento Grid on Play Page */
.play-sidebar-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
}

.play-sidebar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.side-mini-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  height: 110px;
  border: 1px solid var(--border-subtle);
  transition: var(--ease-out);
}

.side-mini-card:hover {
  transform: scale(1.04);
  border-color: var(--cyan);
}

.side-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-mini-card span {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 1rem 0.45rem 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= Footer ================= */
.portal-footer {
  border-top: 1px solid var(--border-subtle);
  background: #05070e;
  padding: 3rem 1.75rem 2rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.86rem;
  transition: var(--ease-out);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-copy {
  max-width: 1480px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ================= Mobile Bottom Navigation Bar (< 768px) ================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(11, 15, 28, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-highlight);
  z-index: 350;
  justify-content: space-around;
  align-items: center;
}

.mob-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}

.mob-nav-btn.active {
  color: var(--cyan);
}

.mob-nav-btn span:first-child {
  font-size: 1.2rem;
}

/* ================= Responsive Breakpoints (Desktop, Tablet, Mobile) ================= */
@media (max-width: 1150px) {
  .category-showcase-row {
    grid-template-columns: 1fr;
  }
  .cat-hero-card {
    flex-direction: row;
    align-items: center;
    padding: 1rem 1.4rem;
  }
  .cat-hero-btn {
    margin-top: 0;
  }
  .leaderboards-section {
    grid-template-columns: 1fr;
  }
  .play-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-left: 0;
    padding-bottom: 70px;
  }
  .app-sidebar {
    display: none;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .header-brand-mobile {
    display: flex;
  }
  .top-header {
    padding: 0 1rem;
    gap: 0.65rem;
  }
  .search-kbd,
  .hide-sm {
    display: none;
  }
  .portal-container {
    padding: 1rem 1rem 2.5rem;
  }
  .quest-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .quest-right {
    width: 100%;
    justify-content: space-between;
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 145px;
    gap: 0.75rem;
  }
  .game-tile.bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .stage-viewport {
    height: 420px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   9. PASSIVE ADSENSE INFRASTRUCTURE, EDITORIAL GUIDES & COOKIE CONSENT
   ========================================================================== */

/* Passive AdSense Slots: 100% Hidden by default until ADSENSE_CONFIG.enabled = true */
body:not(.adsense-active) .adsense-slot {
  display: none !important;
}

body.adsense-active .adsense-slot {
  margin: 1.5rem 0;
  padding: 0.85rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px dashed rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.adsense-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 0.4rem;
}

/* Editorial Meta Bar on play.html */
.editorial-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-meta-bar span {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.editorial-meta-bar .ed-badge-verified {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.editorial-meta-bar .ed-badge-author {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--cyan);
}

/* Controls Breakdown Grid */
.controls-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.ctrl-spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.ctrl-spec-head {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.45rem;
}

.ctrl-spec-card p {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Pro Tips & Winning Strategies Grid */
.pro-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.65rem;
}

.pro-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.pro-tip-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.pro-tip-item p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Technical Specifications Grid */
.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.65rem;
}

.spec-cell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-cell span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 700;
}

.spec-cell strong {
  font-size: 0.86rem;
  color: #f8fafc;
  font-weight: 700;
}

/* FAQ Cards on Play Page */
.faq-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.faq-card-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem;
}

.faq-card-item h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.faq-card-item p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Related Strategy Guide Callout */
.related-guide-callout {
  margin: 1.5rem 0;
}

.related-guide-inner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 47, 73, 0.75));
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.rg-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.related-guide-inner h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.related-guide-inner p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

/* Gaming Guides Hub & 3-Column Card Grid */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}

.guide-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}

.guide-card-thumb-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  display: block;
}

.guide-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.guide-card:hover .guide-card-thumb-wrap img {
  transform: scale(1.06);
}

.guide-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(8, 11, 20, 0.88);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.guide-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.guide-card-meta {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.guide-card-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.guide-card-title a {
  color: #fff;
  transition: color 0.2s ease;
}

.guide-card-title a:hover {
  color: var(--cyan);
}

.guide-card-excerpt {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex: 1;
}

.guide-card-link {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Single Article Reader on guides.html?slug=... */
.guide-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.guide-breadcrumbs a {
  color: var(--cyan);
  font-weight: 700;
}

.guide-reader-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.guide-reader-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.guide-reader-badges span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.guide-reader-badges .guide-badge-cat {
  background: rgba(6, 182, 212, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.guide-reader-badges .guide-badge-verified {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
}

.guide-reader-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 0.85rem;
}

.guide-reader-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.guide-reader-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 380px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border-subtle);
}

.guide-reader-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-toc-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.85rem;
}

.guide-toc-box h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.guide-toc-box ul {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.guide-toc-box a {
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
}

.guide-section-block {
  margin-bottom: 1.85rem;
}

.guide-section-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.7rem;
}

.guide-section-block p {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.78;
  margin-bottom: 1rem;
}

.guide-takeaways-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin: 1.85rem 0;
}

.guide-takeaways-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
}

.guide-takeaways-box ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.guide-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
}

.guide-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.guide-author-info h4 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.guide-author-info p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Cookie & Privacy Consent Bar (GDPR / AdSense Requirement) */
.cookie-consent-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1120px;
  background: rgba(11, 15, 28, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  z-index: 9999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.cookie-consent-text a {
  color: var(--cyan);
  text-decoration: underline;
  font-weight: 700;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-btn-secondary {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
}

.cookie-btn-primary {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

/* ==========================================================================
   10. HOVER VIDEO PREVIEWS (GameMonetize / Poki Instant Gameplay Stream)
   ========================================================================== */
.tile-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: #000;
}

.game-tile.video-playing .tile-hover-video,
.side-mini-card.video-playing .tile-hover-video {
  opacity: 1;
}

.game-tile .tile-overlay {
  z-index: 3;
}

.side-mini-card span {
  z-index: 3;
}



