/* ═════════════════════════════════════════════════════════════════
   OyunPasaj — Ultra Premium Gaming Design System (Full Release)
   ═════════════════════════════════════════════════════════════════ */

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

/* ─── Color Tokens & Theme Variables ─── */
:root {
  /* Brand Accents */
  --c-brand: #6366f1;
  --c-brand-hover: #4f46e5;
  --c-brand-light: #818cf8;
  --c-brand-glow: rgba(99, 102, 241, 0.4);
  
  --c-accent: #06b6d4;
  --c-accent-glow: rgba(6, 182, 212, 0.35);

  --c-neon-green: #10b981;
  --c-neon-green-glow: rgba(16, 185, 129, 0.3);
  --c-neon-orange: #f59e0b;
  --c-neon-red: #ef4444;

  /* Premium Dark Theme (Midnight Sapphire & Cosmic Indigo - No Harsh Black) */
  --c-bg: #0b1120;
  --c-bg-subtle: #0f172a;
  --c-surface: rgba(18, 28, 52, 0.8);
  --c-surface-solid: #131d38;
  --c-surface-2: rgba(28, 42, 76, 0.75);
  --c-surface-3: #1e2e54;
  --c-surface-hover: #263a69;
  
  --c-border: rgba(148, 163, 184, 0.16);
  --c-border-hover: rgba(99, 102, 241, 0.55);
  --c-border-glow: rgba(99, 102, 241, 0.35);

  --c-text: #f8fafc;
  --c-text-muted: #94a3b8;
  --c-text-dim: #64748b;
  --c-title: #ffffff;

  /* Shadows & Blur */
  --glass-blur: blur(16px);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 25px var(--c-brand-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Light Theme Variables */
[data-theme="light"] {
  --c-bg: #f8fafc;
  --c-bg-subtle: #f1f5f9;
  --c-surface: rgba(255, 255, 255, 0.85);
  --c-surface-solid: #ffffff;
  --c-surface-2: rgba(241, 245, 249, 0.9);
  --c-surface-3: #e2e8f0;
  --c-surface-hover: #cbd5e1;

  --c-border: rgba(0, 0, 0, 0.08);
  --c-border-hover: rgba(99, 102, 241, 0.5);
  --c-border-glow: rgba(99, 102, 241, 0.2);

  --c-text: #1e293b;
  --c-text-muted: #64748b;
  --c-text-dim: #94a3b8;
  --c-title: #0f172a;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-neon: 0 4px 20px rgba(99, 102, 241, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth);
}

/* Ambient Background Multi-Tone Glow */
body::before {
  content: '';
  position: fixed;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse at 35% 30%, rgba(99, 102, 241, 0.22), transparent 60%),
              radial-gradient(ellipse at 65% 40%, rgba(6, 182, 212, 0.15), transparent 60%),
              radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Top Bar / Announcement ─── */
.top-notice-bar {
  background: linear-gradient(90deg, #4f46e5, #06b6d4, #6366f1);
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  padding: 7px 16px;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.top-notice-bar i {
  color: #fef08a;
  animation: pulseIcon 1.5s infinite ease-in-out;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ─── Header & Navigation ─── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--c-surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--c-border);
  transition: all 0.3s var(--ease-smooth);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s var(--ease-smooth);
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* Navigation Tabs (Shifted comfortably left) */
.nav-tabs {
  display: flex;
  align-items: center;
  background: var(--c-surface-2);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--c-border);
  gap: 4px;
  flex-shrink: 0;
  margin-left: clamp(28px, 4.5vw, 68px);
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-tab:hover {
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  background: var(--c-brand);
  color: #ffffff;
  box-shadow: 0 2px 12px var(--c-brand-glow);
}

.nav-tab .tab-badge {
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Header Right Area */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

/* (Header badges styled in Top Navigation & HUD Badges section below) */

.theme-toggle-btn {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.25s var(--ease-smooth);
}

.theme-toggle-btn:hover {
  border-color: var(--c-border-hover);
  color: var(--c-brand-light);
  transform: rotate(15deg);
}

/* ─── Main Content & Pages ─── */
main {
  flex: 1;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 28px 60px;
  position: relative;
  z-index: 10;
}

.page {
  display: none;
  animation: fadeIn 0.35s var(--ease-smooth) forwards;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═════════════════════════════════════════════════════════════════
   LIVE ACTIVITY & STATS TICKER STRIP
   ═════════════════════════════════════════════════════════════════ */
.live-ticker-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(20, 31, 58, 0.9) 0%, rgba(49, 39, 94, 0.75) 50%, rgba(20, 31, 58, 0.9) 100%);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 24px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
}

.ticker-live-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
}

.ticker-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-neon-green);
  box-shadow: 0 0 10px var(--c-neon-green);
  animation: pulseDot 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

.ticker-badge-text {
  color: var(--c-neon-green);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  font-weight: 800;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-item i {
  color: var(--c-neon-orange);
  font-size: 12px;
}

.ticker-item strong {
  color: #ffffff;
}

[data-theme="light"] .live-ticker-strip {
  background: linear-gradient(90deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.06);
}

[data-theme="light"] .ticker-live-status {
  color: #0f172a !important;
}

[data-theme="light"] .ticker-items {
  color: #475569 !important;
}

[data-theme="light"] .ticker-item strong {
  color: #0f172a !important;
}

/* ═════════════════════════════════════════════════════════════════
   ULTRA PREMIUM SPLIT SHOWCASE HERO SLIDER (Epic Games Store Style)
   ═════════════════════════════════════════════════════════════════ */
.hero-showcase-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  box-shadow: 0 20px 60px rgba(11, 17, 32, 0.7), 0 0 35px rgba(99, 102, 241, 0.2);
  background: #0f172a;
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 480px;
}

/* Left: Spotlight Stage */
.hero-spotlight-stage {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: #111a33;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 44px 44px 48px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.42;
  filter: saturate(1.25) contrast(1.15) brightness(0.85);
  transform: scale(1);
  transition: transform 9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-slide.active .hero-bg-img {
  transform: scale(1.06);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 65% 35%, var(--slide-glow, rgba(99, 102, 241, 0.35)) 0%, transparent 64%),
    linear-gradient(90deg, #0b1120 0%, rgba(15, 23, 42, 0.94) 48%, rgba(15, 23, 42, 0.4) 78%, rgba(15, 23, 42, 0.88) 100%),
    linear-gradient(0deg, #0b1120 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
}

.hero-tag-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.hero-pill-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-neon-orange);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-rating-badge {
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-perks {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hero-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-perk-item i {
  color: var(--c-neon-green);
  font-size: 11px;
}

.hero-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.55;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  max-width: 520px;
}

.hero-price-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-price-old {
  font-size: 15px;
  color: #94a3b8 !important;
  text-decoration: line-through;
  font-weight: 600;
}

.hero-price-current {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px var(--slide-glow, rgba(99, 102, 241, 0.5));
}

.hero-discount-pill {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.45);
}

.hero-delivery-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-neon-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-buy-btn {
  padding: 13px 28px;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  transform: translateY(0);
  transition: all 0.25s var(--ease-smooth);
}

.hero-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.65);
}

.hero-explore-btn {
  padding: 13px 20px;
  font-size: 13.5px;
}

/* 3D Floating Game Box Cover on the Right of Slide */
.hero-cover-3d {
  position: relative;
  z-index: 3;
  width: 175px;
  height: 255px;
  flex-shrink: 0;
  perspective: 800px;
  margin-left: 20px;
  margin-right: 12px;
}

.hero-cover-inner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75), 0 0 35px var(--slide-glow, rgba(99, 102, 241, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  background: #111a33;
}

.hero-cover-3d:hover .hero-cover-inner {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 45px var(--slide-glow, rgba(99, 102, 241, 0.5));
}

.hero-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-cover-holo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.82) 55%, rgba(11, 17, 32, 0.96) 100%);
  padding: 10px 8px 8px;
  text-align: center;
}

.hero-cover-holo span {
  font-size: 10px;
  font-weight: 800;
  color: var(--c-neon-green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Right: Interactive Rail / Playlist (Epic Games Store Style) */
.hero-side-rail {
  background: rgba(17, 26, 48, 0.94);
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  z-index: 4;
  overflow: hidden;
}

.hero-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.hero-rail-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-rail-title i {
  color: #f59e0b !important;
  font-size: 14px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.65));
}

.hero-rail-counter {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

.hero-rail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

.hero-rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  text-align: left;
  width: 100%;
}

.hero-rail-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-rail-item.active {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.rail-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--c-brand);
  width: 0%;
  box-shadow: 0 0 10px var(--c-brand-glow);
  transition: width 0.1s linear;
}

.hero-rail-item.active .rail-progress-bar {
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
}

.hero-rail-thumb {
  width: 52px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.hero-rail-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

.hero-rail-item.active .hero-rail-name {
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-rail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-rail-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--c-neon-green) !important;
}

.hero-rail-discount {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff !important;
  background: var(--c-neon-red);
  padding: 1px 4px;
  border-radius: 4px;
}

/* Slider Arrow Navigation */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease-smooth);
}

.slider-nav-btn:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 18px var(--c-brand-glow);
}

.slider-nav-btn.prev {
  left: 16px;
}

.slider-nav-btn.next {
  right: 356px; /* Positions just inside the stage before the rail */
}

/* Responsive adjustments for Split Hero */
@media (max-width: 1024px) {
  .hero-showcase-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .slider-nav-btn.next {
    right: 16px;
  }
  .hero-cover-3d {
    display: none;
  }
  .hero-side-rail {
    border-left: none;
    border-top: 1px solid var(--c-border);
    padding: 12px;
  }
  .hero-rail-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }
  .hero-rail-item {
    flex: 0 0 200px;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    padding: 28px 20px;
    min-height: 400px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-desc {
    font-size: 12.5px;
    margin-bottom: 14px;
  }
  .slider-nav-btn {
    display: none;
  }
  .live-ticker-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ═════════════════════════════════════════════════════════════════
   FLASH DEALS SPOTLIGHT SECTION (Günün Flaş Fırsatları)
   ═════════════════════════════════════════════════════════════════ */
.flash-deals-section {
  position: relative;
  background: radial-gradient(circle at 12% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 88% 100%, rgba(6, 182, 212, 0.16) 0%, transparent 50%),
              linear-gradient(180deg, rgba(22, 33, 62, 0.88) 0%, rgba(16, 25, 48, 0.96) 100%);
  border: 1px solid rgba(129, 140, 248, 0.32);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  margin-bottom: 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 35px rgba(99, 102, 241, 0.12);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.flash-deals-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brand-light), var(--c-accent), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.flash-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.flash-deals-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flash-fire-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(6, 182, 212, 0.18) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--c-brand-light);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
  transition: transform 0.3s ease;
}

.flash-deals-section:hover .flash-fire-icon {
  transform: scale(1.06) rotate(-3deg);
}

.flash-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.flash-deals-title-wrap h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-title);
  letter-spacing: -0.3px;
}

.flash-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--c-neon-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.flash-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-neon-green);
  box-shadow: 0 0 8px var(--c-neon-green);
  animation: pulseDot 1.8s infinite ease-in-out;
}

.flash-deals-title-wrap p {
  font-size: 13.5px;
  color: var(--c-text-muted);
}

.flash-countdown-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(99, 102, 241, 0.12);
}

.flash-countdown-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.flash-countdown-label i {
  color: var(--c-neon-orange);
}

.flash-countdown-digits {
  font-family: var(--font-display), monospace;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.32);
  padding: 3px 12px;
  border-radius: 8px;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.flash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flash-card {
  background: linear-gradient(180deg, rgba(28, 42, 78, 0.85) 0%, rgba(19, 29, 56, 0.95) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.flash-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 140, 248, 0.6);
  box-shadow: 0 16px 36px rgba(11, 17, 32, 0.5), 0 0 25px rgba(99, 102, 241, 0.3);
}

.flash-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101935;
}

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

.flash-card:hover .flash-card-img {
  transform: scale(1.08);
}

.flash-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.95) 100%);
  pointer-events: none;
}

.flash-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--c-brand) 0%, #4338ca 60%, var(--c-accent) 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.flash-stock-meter {
  padding: 12px 14px 6px;
}

.flash-stock-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}

.flash-stock-text strong {
  color: var(--c-neon-orange);
}

.flash-stock-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.flash-stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
  border-radius: 4px;
  transition: width 0.6s ease;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}

.flash-card-body {
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flash-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.flash-card:hover .flash-card-title {
  color: var(--c-brand-light);
}

.flash-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}

.flash-prices {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.flash-price-old {
  font-size: 11.5px;
  color: var(--c-text-dim);
  text-decoration: line-through;
}

.flash-price-current {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--c-neon-green);
  letter-spacing: -0.2px;
}

.flash-buy-btn {
  background: linear-gradient(135deg, var(--c-brand) 0%, #4338ca 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.flash-buy-btn:hover {
  background: linear-gradient(135deg, var(--c-brand-hover) 0%, #3730a3 100%);
  box-shadow: 0 6px 18px var(--c-brand-glow);
  transform: translateY(-2px);
}

/* Light Theme Support for Flash Deals */
[data-theme="light"] .flash-deals-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .flash-countdown-box {
  background: #f1f5f9;
  border-color: rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .flash-countdown-digits {
  color: #0f172a;
  background: rgba(99, 102, 241, 0.1);
  text-shadow: none;
}

[data-theme="light"] .flash-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .flash-card:hover {
  box-shadow: 0 16px 32px rgba(99, 102, 241, 0.15);
  border-color: var(--c-brand);
}

[data-theme="light"] .flash-stock-bar-track {
  background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 1024px) {
  .flash-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .flash-grid {
    grid-template-columns: 1fr;
  }
}

/* ═════════════════════════════════════════════════════════════════
   QUICK GENRE EXPLORER BAR (Hızlı Kategori & Tür Keşfi)
   ═════════════════════════════════════════════════════════════════ */
.genre-explorer-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.genre-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.genre-card:hover {
  border-color: var(--c-border-hover);
  background: var(--c-surface-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.genre-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-surface-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--c-brand-light);
  transition: transform 0.25s ease;
}

.genre-card:hover .genre-icon {
  transform: scale(1.12);
  background: var(--c-brand);
  color: #ffffff;
}

.genre-name {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--c-title);
  white-space: nowrap;
}

.genre-sub {
  font-size: 11px;
  color: var(--c-text-muted);
}

@media (max-width: 900px) {
  .genre-explorer-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 550px) {
  .genre-explorer-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═════════════════════════════════════════════════════════════════
   HOW IT WORKS SECTION (3 Adımda Kolay Erişim)
   ═════════════════════════════════════════════════════════════════ */
.how-it-works-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin-bottom: 44px;
}

.how-it-works-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.how-it-works-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--c-title);
  margin-bottom: 6px;
}

.how-it-works-header p {
  font-size: 13.5px;
  color: var(--c-text-muted);
}

.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.how-step-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all 0.25s var(--ease-smooth);
}

.how-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.how-step-num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand), #4f46e5);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px var(--c-brand-glow);
}

.how-step-icon {
  font-size: 28px;
  color: var(--c-brand-light);
  margin-bottom: 14px;
  margin-top: 6px;
}

.how-step-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 6px;
}

.how-step-card p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ═════════════════════════════════════════════════════════════════
   PLATFORM COMPARISON SECTION (Neden OyunPasaj?)
   ═════════════════════════════════════════════════════════════════ */
.comparison-section {
  background: linear-gradient(135deg, rgba(20, 32, 60, 0.92) 0%, rgba(28, 42, 82, 0.88) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin-bottom: 44px;
}

.comparison-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
}

.comparison-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.comparison-header p {
  font-size: 13.5px;
  color: #cbd5e1;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.compare-card.bad {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-card.good {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.compare-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-card.bad .compare-card-title {
  color: #f87171;
}

.compare-card.good .compare-card-title {
  color: #ffffff;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.compare-list li i {
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.compare-card.bad .compare-list li i {
  color: #ef4444;
}

.compare-card.good .compare-list li i {
  color: var(--c-neon-green);
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Light Theme Support for Comparison */
[data-theme="light"] .comparison-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .comparison-header h3 {
  color: #0f172a !important;
}

[data-theme="light"] .comparison-header p {
  color: #64748b !important;
}

[data-theme="light"] .compare-card.good {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .compare-card.good .compare-card-title {
  color: #059669;
}

[data-theme="light"] .compare-card.bad {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.2);
}

[data-theme="light"] .compare-list li {
  color: #334155;
}

/* ═════════════════════════════════════════════════════════════════
   TESTIMONIALS / VERIFIED REVIEWS SECTION (Gerçek Oyuncu Yorumları)
   ═════════════════════════════════════════════════════════════════ */
.testimonials-section {
  margin-bottom: 44px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-smooth);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-surface-3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--c-brand-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-info h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-title);
}

.testimonial-verified {
  font-size: 11px;
  color: var(--c-neon-green);
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 12.5px;
  color: var(--c-text);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.testimonial-game-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-brand-light);
  background: rgba(99, 102, 241, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ═════════════════════════════════════════════════════════════════
   VIP SUPPORT & COMMUNITY BANNER
   ═════════════════════════════════════════════════════════════════ */
.vip-support-box {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.vip-support-content {
  max-width: 620px;
}

.vip-support-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-support-content p {
  font-size: 13.5px;
  color: #cbd5e1;
}

.vip-support-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-brand), #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--c-brand-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--c-brand-light), var(--c-brand));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--c-brand-glow);
}

.btn-secondary {
  background: var(--c-surface-2);
  color: var(--c-text);
  border-color: var(--c-border);
}

.btn-secondary:hover {
  background: var(--c-surface-3);
  border-color: var(--c-border-hover);
  color: var(--c-title);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--c-neon-green-glow);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--c-neon-green-glow);
}

/* ─── Trust Badges Row ─── */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.trust-card {
  background: var(--c-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--c-border);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s var(--ease-smooth);
}

.trust-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-surface-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--c-brand-light);
  flex-shrink: 0;
}

.trust-info h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 2px;
}

.trust-info p {
  font-size: 12px;
  color: var(--c-text-muted);
}

/* ─── Section Header & Filter Controls ─── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title-wrap h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-title);
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-wrap p {
  font-size: 13.5px;
  color: var(--c-text-muted);
  margin-top: 3px;
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-dim);
  font-size: 13px;
}

.search-box input {
  width: 100%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: all 0.25s var(--ease-smooth);
}

.search-box input:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px var(--c-brand-glow);
}

.category-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.chip-btn {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease-smooth);
}

.chip-btn:hover {
  border-color: var(--c-border-hover);
  color: var(--c-text);
}

.chip-btn.active {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
  box-shadow: 0 2px 10px var(--c-brand-glow);
}

/* ─── Games Grid & Cards ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--c-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-md);
}

.game-card:hover .card-title {
  color: var(--c-brand-light);
}

.card-media {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--c-surface-3);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.game-card:hover .card-img {
  transform: scale(1.08);
}

.card-hover-preview-badge {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(6px);
  pointer-events: none;
  z-index: 3;
}

.game-card:hover .card-hover-preview-badge {
  opacity: 1;
  transform: translateY(0);
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--c-neon-green);
  color: #064e3b;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.platform-badge {
  display: none !important;
}

.card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-genre {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--c-title);
  line-height: 1.35;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price-original {
  font-size: 11.5px;
  color: var(--c-text-dim);
  text-decoration: line-through;
}

.price-current {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--c-neon-green);
}

.card-buy-btn {
  background: var(--c-brand);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease-smooth);
}

.card-buy-btn:hover {
  background: var(--c-brand-hover);
  box-shadow: 0 4px 12px var(--c-brand-glow);
  transform: scale(1.04);
}

/* ─── Library Section (Steam Launcher Style) ─── */
.library-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}

.library-empty i {
  font-size: 48px;
  color: var(--c-brand-light);
  margin-bottom: 16px;
}

.library-empty h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 8px;
}

.library-empty p {
  color: var(--c-text-muted);
  max-width: 420px;
  margin: 0 auto 20px;
}

.purchased-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.library-card {
  background: var(--c-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-smooth);
}

.library-card:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-md);
}

.lib-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.lib-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.lib-meta h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 4px;
}

.lib-order-id {
  font-size: 11.5px;
  color: var(--c-text-dim);
  font-family: monospace;
}

.credentials-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.cred-label {
  color: var(--c-text-muted);
  font-weight: 600;
}

.cred-val-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cred-val {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-title);
  background: var(--c-surface-3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--c-brand-light);
  cursor: pointer;
  padding: 4px;
  font-size: 13px;
  transition: transform 0.15s;
}

.copy-btn:hover {
  transform: scale(1.2);
}

/* Guard Code Area */
.guard-box {
  border-top: 1px solid var(--c-border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guard-result-pill {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px dashed var(--c-brand);
  padding: 12px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guard-code-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--c-title);
  letter-spacing: 2px;
}

/* ─── Multi-Platform (Steam, Rockstar Games, EA App) Styling ─── */
.cred-platform-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.steam-title {
  color: #60a5fa;
}

.rockstar-title {
  color: #f59e0b;
}

.ea-title {
  color: #f87171;
}

.cred-badge-sub {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sec-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
}

.secondary-platform-box {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 10px;
  transition: border-color 0.2s;
}

.rockstar-box {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.04), rgba(217, 119, 6, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.rockstar-box:hover {
  border-color: rgba(245, 158, 11, 0.45);
}

.ea-box {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.04), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.ea-box:hover {
  border-color: rgba(239, 68, 68, 0.45);
}

.btn-rockstar {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #111827;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  transition: all 0.2s;
}

.btn-rockstar:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-ea {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
  transition: all 0.2s;
}

.btn-ea:hover {
  background: linear-gradient(135deg, #f87171, #ef4444);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

/* ─── Admin Dashboard Section ─── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--c-surface-2);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--c-brand);
}

.admin-stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--c-title);
}

.admin-stat-lbl {
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.admin-table-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.admin-table th {
  background: var(--c-surface-2);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-title);
  border-bottom: 1px solid var(--c-border);
}

.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.status-ready {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.status-cooldown {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ─── Global Responsive Modal Architecture (Zero Screen Overflow) ─── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vh, 20px);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active {
  display: flex !important;
}

.modal-card {
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: auto;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  box-sizing: border-box;
  animation: modalPop 0.25s var(--ease-smooth) forwards;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--c-title);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--c-title);
}

.preset-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.preset-btn {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.preset-btn:hover {
  border-color: var(--c-brand);
  background: var(--c-surface-3);
}

.preset-btn.active {
  border-color: var(--c-brand);
  background: rgba(168, 85, 247, 0.15);
  color: var(--c-brand);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.wallet-modal-card {
  max-width: 440px;
}

.wallet-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.wallet-trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 12px;
  color: var(--c-text);
  margin-bottom: 16px;
  font-weight: 500;
}

.preset-amount-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.preset-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.wallet-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.wallet-input-wrapper .currency-symbol {
  position: absolute;
  left: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--c-brand);
  pointer-events: none;
}

.wallet-amount-input {
  padding-left: 34px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.5px;
}

.wallet-payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--c-text-muted);
}

.wpm-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wallet-pay-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

/* Waiting Stage */
.waiting-ring-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.waiting-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(168, 85, 247, 0.15);
  border-top-color: var(--c-brand);
  animation: spin 1s infinite linear;
}

.waiting-ring-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26px;
  color: var(--c-brand);
}

.waiting-amount-badge {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: inline-block;
  margin-bottom: 14px;
}

.waiting-amount-badge strong {
  color: var(--c-brand);
  font-size: 17px;
  font-weight: 800;
}

.waiting-status-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-muted);
}

/* Success Stage */
.success-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  font-size: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.3);
  animation: scaleBounce 0.4s ease;
}

@keyframes scaleBounce {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--c-brand);
}

/* ─── FAQ Section ─── */
.faq-section {
  margin-top: 60px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 20px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--c-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ─── Toast Notifications ─── */
#toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border-hover);
  color: var(--c-title);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  animation: toastIn 0.3s var(--ease-smooth), toastOut 0.3s ease 3.5s forwards;
  min-width: 280px;
}

.toast-success i { color: var(--c-neon-green); }
.toast-error i { color: var(--c-neon-red); }
.toast-info i { color: var(--c-brand-light); }

@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } }

/* ─── Footer ─── */
footer {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 17, 32, 0.98) 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: auto;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 28px 30px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.brand-col .logo-img {
  height: 52px;
  max-width: 210px;
  margin-bottom: 12px;
}

.brand-col p {
  color: var(--c-text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--c-text-muted);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--c-brand-light);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 28px;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--c-text-dim);
}

/* ─── Mobile Responsiveness ─── */
@media (max-width: 900px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 16px; }
  .nav-tab span { display: none; }
  .hero-content { padding: 24px; }
  .hero-title { font-size: 24px; }
  .trust-bar { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── Admin Credential UI Elements ─── */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 13.5px;
  color: var(--c-text);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

.cred-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.cred-box:hover {
  border-color: var(--c-border-hover);
  background: var(--c-surface-3);
}

.cred-code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-title);
  user-select: all;
  letter-spacing: 0.3px;
}

.cred-user {
  color: #38bdf8;
}

.cred-pass {
  color: #f43f5e;
}

.cred-btn {
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, transform 0.15s, background-color 0.15s;
}

.cred-btn:hover {
  color: var(--c-title);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.1);
}

.cred-btn:active {
  transform: scale(0.95);
}

/* ─── Live Guard Code & Countdown Timer ─── */
.guard-card-active {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guard-timer-wrap {
  background: var(--c-surface-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.guard-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.guard-timer-progress {
  height: 100%;
  background: var(--c-neon-green);
  border-radius: 999px;
  transition: width 1s linear, background-color 0.3s ease;
}

.guard-expired-alert {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--c-neon-orange);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}

.guard-pulse-btn {
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.admin-guard-live-pill {
  display: inline-flex;
  flex-direction: column;
  background: rgba(6, 191, 255, 0.1);
  border: 1px solid rgba(6, 191, 255, 0.35);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

/* ════════ Authentication & User Header Controls ════════ */
.auth-guest-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.btn-outline-auth {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  height: 32px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-outline-auth:hover {
  border-color: var(--c-brand-light);
  color: var(--c-brand-light);
  transform: translateY(-1px);
}

.btn-primary-auth {
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  border: none;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  height: 32px;
  box-sizing: border-box;
  padding: 0 13px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--c-brand-glow);
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary-auth:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 18px var(--c-brand-glow);
}

.auth-user-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.user-menu-wrapper {
  position: relative;
  flex-shrink: 0;
}

.user-profile-btn {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-title);
  height: 32px !important;
  box-sizing: border-box !important;
  padding: 2px 10px 2px 5px !important;
  border-radius: var(--radius-full);
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.user-profile-btn:hover {
  border-color: var(--c-brand-light);
  box-shadow: var(--shadow-sm);
}

.user-avatar-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.user-menu-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-chevron {
  font-size: 10px;
  color: var(--c-text-muted);
  transition: transform 0.2s;
}

.user-profile-btn.active .user-chevron {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--c-surface-solid);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 1000;
  display: none;
}

.user-dropdown-menu.active {
  display: block;
  animation: modalPop 0.2s ease forwards;
}

.dropdown-header {
  padding: 8px 12px;
}

.dropdown-username {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--c-title);
}

.dropdown-email {
  display: block;
  font-size: 11.5px;
  color: var(--c-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-divider {
  height: 1px;
  background: var(--c-border);
  margin: 6px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: var(--c-surface-2);
  color: var(--c-brand-light);
}

.dropdown-badge {
  margin-left: auto;
  background: var(--c-surface-3);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  color: var(--c-text-muted);
}

.dropdown-logout {
  color: #ef4444 !important;
}

.dropdown-logout:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Form Input with Icon & Eye Toggle */
.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .input-icon {
  position: absolute;
  left: 14px;
  color: var(--c-text-muted);
  font-size: 14px;
  pointer-events: none;
}

.input-icon-wrap .form-input.with-icon {
  padding-left: 40px;
  padding-right: 40px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
}

.password-toggle-btn:hover {
  color: var(--c-title);
}

.modal-auth-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
  text-align: center;
  font-size: 13px;
  color: var(--c-text-muted);
}

.modal-auth-footer a {
  color: var(--c-brand-light);
  font-weight: 700;
  text-decoration: none;
}

.modal-auth-footer a:hover {
  text-decoration: underline;
}

/* ════════ USER PROFILE VIEW STYLING ════════ */
.profile-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.3s ease;
}

.profile-hero-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border-hover);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.profile-hero-banner {
  height: 165px;
  background-color: #0f172a;
  background-image: url('/gorsel/profil-banner.svg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-hero-body {
  padding: 0 32px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.profile-user-left {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.profile-avatar-large {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-top: -48px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: 4px solid var(--c-surface-solid);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 20px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.profile-details {
  padding-top: 14px;
  padding-bottom: 2px;
}

.profile-username-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-username-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--c-title);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0;
}

.profile-meta-row {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

.profile-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 2px;
}

/* In-Page Navigation Tabs */
.profile-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.profile-tab-nav-btn {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.profile-tab-nav-btn:hover {
  color: var(--c-title);
  border-color: var(--c-brand-light);
  transform: translateY(-1px);
}

.profile-tab-nav-btn.active {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
  box-shadow: 0 4px 14px var(--c-brand-glow);
}

.profile-settings-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 640px;
  animation: fadeIn 0.25s ease;
}

.profile-settings-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-settings-desc {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.profile-settings-divider {
  border-top: 1px dashed var(--c-border);
  margin: 22px 0 18px;
  padding-top: 18px;
}

.profile-settings-subtitle {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Modern Stats Cards Grid */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.profile-stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.profile-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.85;
  transition: opacity 0.25s;
}

.profile-stat-card.stat-games {
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.08) 0%, var(--c-surface) 65%);
  border-color: rgba(99, 102, 241, 0.25);
}
.profile-stat-card.stat-games::before {
  background: linear-gradient(90deg, #6366f1, #38bdf8);
}

.profile-stat-card.stat-keys {
  background: linear-gradient(155deg, rgba(249, 115, 22, 0.08) 0%, var(--c-surface) 65%);
  border-color: rgba(249, 115, 22, 0.25);
}
.profile-stat-card.stat-keys::before {
  background: linear-gradient(90deg, #f97316, #fb923c);
}

.profile-stat-card.stat-wallet {
  background: linear-gradient(155deg, rgba(16, 185, 129, 0.08) 0%, var(--c-surface) 65%);
  border-color: rgba(16, 185, 129, 0.25);
}
.profile-stat-card.stat-wallet::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.profile-stat-card.stat-spent {
  background: linear-gradient(155deg, rgba(245, 158, 11, 0.08) 0%, var(--c-surface) 65%);
  border-color: rgba(245, 158, 11, 0.25);
}
.profile-stat-card.stat-spent::before {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.profile-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-color: var(--c-border-hover);
}

.profile-stat-card:hover::before {
  opacity: 1;
}

.profile-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-surface-2);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 1px solid var(--c-border);
}

.profile-stat-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}

.profile-stat-main {
  margin-top: 2px;
}

.profile-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--c-title);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.profile-stat-lbl {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-title);
  margin-top: 6px;
}

.profile-stat-sub {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.profile-stat-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-title);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  width: 100%;
}

.profile-stat-action-btn:hover {
  background: var(--c-brand);
  color: #fff;
  border-color: var(--c-brand);
  transform: translateY(-1px);
}

/* Profile Content Section */
.profile-content-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-section-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-title);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-games-count {
  background: var(--c-brand);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .profile-hero-banner {
    height: 125px;
  }
  .profile-hero-body {
    padding: 0 20px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-user-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .profile-avatar-large {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    font-size: 32px;
  }
  .profile-details {
    padding-top: 6px;
  }
  .profile-hero-actions {
    width: 100%;
    padding-top: 10px;
  }
}

/* ═════════════════════════════════════════════════════════════════
   GAME DETAIL PAGE VIEW (Oyun Detay, Fragman & İnceleme Sayfası)
   ═════════════════════════════════════════════════════════════════ */

.game-detail-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 0 60px;
  min-width: 0;
  box-sizing: border-box;
}

/* ── Top Navigation Bar & Breadcrumbs ── */
.detail-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-back-btn {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: var(--glass-blur);
  transition: all 0.25s var(--ease-smooth);
}

.detail-back-btn:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #ffffff;
  transform: translateX(-3px);
  box-shadow: 0 4px 16px var(--c-brand-glow);
}

.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}

.breadcrumb-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: var(--c-brand-light);
  text-decoration: underline;
}

.breadcrumb-sep {
  font-size: 10px;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--c-title);
  font-weight: 700;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-top-link-btn {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease-smooth);
}

.detail-top-link-btn:hover {
  color: #ffffff;
  border-color: var(--c-border-hover);
  background: var(--c-surface-hover);
}

/* ── Clean Header Card (Sharp, Modern, Zero Blurry Gradients) ── */
.detail-header-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.detail-pill-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.detail-pill-platform {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-pill-discount {
  background: linear-gradient(135deg, var(--c-neon-orange), #ea580c);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.detail-pill-metacritic {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-pill-metacritic.meta-good {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.detail-pill-metacritic.meta-avg {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.detail-pill-guarantee {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-page-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
  word-break: break-word;
}

.detail-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-genres-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-genre-chip {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.detail-meta-items {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Master 2-Column Grid ── */
.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.detail-left-column {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.detail-right-column {
  min-width: 0;
  max-width: 100%;
}

/* Shared Card Base */
.detail-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.detail-card-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

.detail-card-header h3,
.detail-card-header h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-title);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-header-sub {
  display: block;
  font-size: 12.5px;
  color: var(--c-text-muted);
  margin-top: 4px;
  font-weight: 400;
}

/* ── 1. Media Hub Card (Video Player & Screenshot Showcase) ── */
.detail-media-hub {
  padding: 16px;
  overflow: hidden;
  max-width: 100%;
}

.detail-media-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 17, 32, 0.6);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-stage-video-wrap,
.detail-stage-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  overflow: hidden;
}

.detail-media-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  background: #0f172a;
  outline: none;
  display: block;
}

.detail-media-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  background: #0f172a;
  cursor: zoom-in;
  display: block;
}

.detail-stage-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.detail-stage-tag.video-tag {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.detail-stage-tag.video-tag i {
  color: var(--c-neon-orange);
}

.detail-stage-tag.img-tag {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
}

/* Media Thumbnails Strip */
.detail-thumbs-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--c-surface-hover) transparent;
}

.detail-thumbs-bar::-webkit-scrollbar {
  height: 5px;
}

.detail-thumbs-bar::-webkit-scrollbar-thumb {
  background: var(--c-surface-hover);
  border-radius: 4px;
}

.detail-thumb-item {
  position: relative;
  flex: 0 0 110px;
  width: 110px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s var(--ease-smooth);
}

.detail-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-thumb-item:hover {
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

.detail-thumb-item.active {
  border-color: var(--c-brand);
  box-shadow: 0 0 14px var(--c-brand-glow);
}

.detail-thumb-play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 16px;
}

.detail-thumb-item:hover .detail-thumb-play-icon {
  background: rgba(99, 102, 241, 0.5);
}

.detail-thumb-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-thumb-item.is-video .detail-thumb-badge {
  background: var(--c-brand);
}

/* ── 2. Turkish Story & Description Card ── */
.detail-synopsis-quote {
  background: var(--c-surface-2);
  border-left: 4px solid var(--c-brand);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.synopsis-quote-icon {
  font-size: 20px;
  color: var(--c-brand-light);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.synopsis-quote-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text);
  font-weight: 500;
}

.detail-desc-card {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

.detail-story-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-muted);
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.detail-story-body * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.detail-story-body p {
  margin-bottom: 14px;
}

.detail-story-body h2,
.detail-story-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--c-title);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-border);
}

.detail-story-body ul.bb_ul {
  list-style: none;
  margin: 12px 0;
  padding-left: 0;
}

.detail-story-body ul.bb_ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.detail-story-body ul.bb_ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-neon-green);
  font-weight: 800;
}

.detail-story-body img,
.detail-story-body .bb_img,
.detail-desc-img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 14px auto;
  display: block !important;
  object-fit: contain !important;
  border: 1px solid var(--c-border);
}

.detail-story-body table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
}

.detail-story-body a {
  color: var(--c-brand-light);
  text-decoration: underline;
}

/* ── 3. PC System Requirements Card ── */
.detail-reqs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-req-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.req-box-badge {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 16px;
}

.req-box-badge.min {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

.req-box-badge.rec {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.req-box-list {
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-muted);
}

.req-box-list ul {
  list-style: none;
  padding: 0;
}

.req-box-list li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.req-box-list li:last-child {
  border-bottom: none;
}

.req-box-list strong {
  color: var(--c-title);
  font-weight: 700;
}

/* ── 4. Similar Games Grid ── */
.detail-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.similar-game-card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.similar-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.similar-card-img-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #0f172a;
}

.similar-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.similar-game-card:hover .similar-card-img-wrap img {
  transform: scale(1.08);
}

.similar-card-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--c-neon-green);
  color: #064e3b;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
}

.similar-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.similar-card-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.similar-card-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: var(--c-neon-green);
}

.similar-card-buy-btn {
  background: var(--c-surface-3);
  border: 1px solid var(--c-border);
  color: var(--c-brand-light);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.similar-card-buy-btn:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #ffffff;
  transform: scale(1.1);
}

/* ── RIGHT COLUMN: Sticky Purchase Widget ── */
.detail-sticky-buy-widget {
  position: sticky;
  top: 90px;
  background: var(--c-surface);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
  z-index: 10;
  box-sizing: border-box;
}

/* Widget Game Banner */
.widget-game-banner {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.widget-banner-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
}

.widget-banner-badge {
  background: rgba(16, 185, 129, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.widget-title-area {
  margin-bottom: 16px;
}

.widget-account-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-brand-light);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.widget-game-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-title);
  line-height: 1.25;
  margin-bottom: 4px;
  word-break: break-word;
}

.widget-platform-label {
  font-size: 11.5px;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Widget Pricing Section */
.widget-pricing-section {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.widget-pricing-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
}

.widget-price-numbers {
  display: flex;
  flex-direction: column;
}

.widget-price-old {
  font-size: 13px;
  color: var(--c-text-dim);
  text-decoration: line-through;
}

.widget-price-current {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--c-neon-green);
  line-height: 1;
  letter-spacing: -0.5px;
}

.widget-discount-pill {
  background: var(--c-neon-red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
}

.widget-savings-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #38bdf8;
  padding-top: 8px;
  border-top: 1px solid var(--c-border);
}

.widget-savings-banner strong {
  color: #ffffff;
}


/* Feature Perks Checklist */
.widget-perks-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-perk-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.widget-perk-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--c-brand-light);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}

.widget-perk-text strong {
  display: block;
  font-size: 12.5px;
  color: var(--c-title);
  font-weight: 700;
  line-height: 1.3;
}

.widget-perk-text p {
  font-size: 11.5px;
  color: var(--c-text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Big Action CTA Button */
.widget-cta-btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transition: all 0.25s var(--ease-smooth);
}

.widget-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--c-brand-glow);
}

/* User Status / Balance Strip */
.widget-user-status {
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}

.widget-balance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.bal-label {
  color: var(--c-text-muted);
}

.bal-label strong {
  color: var(--c-title);
}

.widget-add-bal-btn {
  color: var(--c-brand-light);
  font-weight: 700;
  text-decoration: none;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.widget-add-bal-btn:hover {
  text-decoration: underline;
}

.bal-sufficient {
  color: var(--c-neon-green);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.widget-guest-banner {
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #fcd34d;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.widget-guest-banner:hover {
  background: rgba(245, 158, 11, 0.18);
  transform: translateY(-1px);
}

/* ── Specifications Table Card ── */
.detail-specs-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--c-surface-2);
  font-size: 12.5px;
}

.spec-k {
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.spec-v {
  color: var(--c-title);
  font-weight: 700;
  text-align: right;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.font-mono {
  font-family: monospace;
}

/* ── Lightbox Modal for Screenshots ── */
.detail-lightbox-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.detail-lightbox-close:hover {
  background: var(--c-neon-red);
  transform: scale(1.1);
}

/* ── Skeleton Loading Styles ── */
@keyframes detailShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.detail-skeleton-wrap {
  animation: fadeIn 0.3s ease;
}

.detail-skel-bar,
.detail-skel-hero,
.detail-skel-media,
.detail-skel-thumb,
.detail-skel-card,
.detail-skel-widget {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: detailShimmer 1.8s infinite;
  border-radius: var(--radius-md);
}

.detail-skel-bar {
  height: 40px;
  margin-bottom: 20px;
  width: 60%;
}

.detail-skel-hero {
  height: 120px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
}

.detail-skel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
}

.detail-skel-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.detail-skel-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-skel-thumb {
  width: 110px;
  height: 64px;
  flex-shrink: 0;
}

.detail-skel-card {
  height: 220px;
}

.detail-skel-widget {
  height: 520px;
  border-radius: var(--radius-lg);
}

/* ── Error Box ── */
.detail-error-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  max-width: 520px;
  margin: 60px auto;
  box-shadow: var(--shadow-md);
}

.detail-error-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--c-neon-red);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.detail-error-box h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-title);
  margin-bottom: 10px;
}

.detail-error-box p {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.detail-error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ── Light Theme Overrides for Game Detail ── */
[data-theme="light"] .detail-page-title {
  color: #0f172a !important;
}

[data-theme="light"] .detail-header-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .detail-genre-chip {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #334155;
}

[data-theme="light"] .detail-pill-guarantee {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #334155;
}

[data-theme="light"] .detail-synopsis-quote {
  background: #f0f4ff;
  border-left-color: var(--c-brand);
}

[data-theme="light"] .synopsis-quote-text {
  color: #1e293b;
}

[data-theme="light"] .detail-story-body {
  color: #475569;
}

[data-theme="light"] .detail-sticky-buy-widget {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .widget-pricing-section {
  background: #f8fafc;
}

[data-theme="light"] .widget-savings-banner strong {
  color: #0f172a;
}

[data-theme="light"] .widget-perks-section {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .spec-item {
  background: #f1f5f9;
}

/* ── Responsive Breakdown ── */
@media (max-width: 1080px) {
  .detail-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-sticky-buy-widget {
    position: static;
  }

  .detail-page-title {
    font-size: 26px;
  }

  .detail-reqs-grid {
    grid-template-columns: 1fr;
  }

  .detail-similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .detail-page-title {
    font-size: 21px;
  }

  .detail-breadcrumbs {
    display: none;
  }

  .detail-top-nav {
    flex-direction: row;
    justify-content: space-between;
  }

  .detail-header-card {
    padding: 16px;
  }

  .detail-card {
    padding: 16px;
  }

  .detail-similar-grid {
    grid-template-columns: 1fr;
  }

  .widget-game-banner {
    height: 140px;
  }
}

/* ═════════════════════════════════════════════════════════════════
   TOP NAVIGATION & HEADER HUD BADGES (OYUN HAKKI & CÜZDAN)
   ═════════════════════════════════════════════════════════════════ */

/* 1. Nav Tab: Oyun Hakları inside .nav-tabs */
.nav-tab.nav-tab-keys {
  color: var(--c-text-muted);
  border: none;
  background: transparent;
  position: relative;
  transition: all 0.25s var(--ease-smooth);
}

.nav-tab.nav-tab-keys i {
  color: #f59e0b;
  font-size: 13px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.45));
  transition: transform 0.25s var(--ease-smooth);
}

.nav-tab.nav-tab-keys .tab-badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
}

.nav-tab.nav-tab-keys:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-tab.nav-tab-keys:hover i {
  transform: rotate(-15deg) scale(1.15);
  color: #fbbf24;
}

/* 2. Guest Header CTA: Hak Satın Al Button (Clean & Vibrant, No Black Gradient) */
.btn-guest-keys {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #f59e0b;
  height: 32px;
  padding: 0 11px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-guest-keys i {
  font-size: 11px;
  color: #f59e0b;
  transition: transform 0.25s ease;
}

.btn-guest-keys:hover {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-guest-keys:hover i {
  color: #ffffff;
  transform: rotate(-15deg) scale(1.15);
}

/* 3. Logged-in User HUD Badges: Clean Glass Surfaces (Zero Dark/Black Gradient) */
.auth-user-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

/* Oyun Hakkı Rozeti (Clean Amber Glass) */
.key-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-surface-2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  height: 32px;
  padding: 0 5px 0 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  user-select: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.key-badge:hover {
  background: rgba(245, 158, 11, 0.14);
  border-color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.key-badge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 11.5px;
  transition: transform 0.25s ease;
}

.key-badge:hover .key-badge-icon-wrap {
  transform: rotate(-15deg) scale(1.15);
  color: #fbbf24;
}

.key-badge-val {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.key-add-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f59e0b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  transition: all 0.25s var(--ease-smooth);
  flex-shrink: 0;
}

.key-badge:hover .key-add-btn {
  background: #fbbf24;
  color: #0b0f19;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Cüzdan Rozeti (Clean Emerald Glass) */
.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-surface-2);
  border: 1px solid rgba(34, 197, 94, 0.35);
  height: 32px;
  padding: 0 5px 0 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  user-select: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.wallet-badge:hover {
  background: rgba(34, 197, 94, 0.14);
  border-color: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

.wallet-badge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 11.5px;
  transition: transform 0.25s ease;
}

.wallet-badge:hover .wallet-badge-icon-wrap {
  transform: scale(1.15);
  color: #4ade80;
}

.wallet-badge-val {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.wallet-add-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  transition: all 0.25s var(--ease-smooth);
  flex-shrink: 0;
}

.wallet-badge:hover .wallet-add-btn {
  background: #4ade80;
  color: #0b0f19;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* User profile button height alignment */
.user-profile-btn {
  height: 32px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* 4. Responsive Rules for Top Menu */
@media (max-width: 992px) {
  .header-inner {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px;
  }
  .nav-tab.nav-tab-keys .tab-badge-amber {
    display: none;
  }
}

@media (max-width: 768px) {
  .btn-guest-keys span {
    display: none;
  }
  .btn-guest-keys {
    padding: 0 12px;
  }
  .key-badge {
    padding: 0 6px 0 10px;
  }
  .wallet-badge {
    padding: 0 6px 0 10px;
  }
}

/* ═════════════════════════════════════════════════════════════════
   OYUN HAKKI & ANAHTAR PACKAGES MODAL (Compact & Fully Visible HUD)
   ═════════════════════════════════════════════════════════════════ */

/* Modal Frame & Stage (Ultra-Compact Zero-Overflow Design) */
.modal-card-wide {
  max-width: 980px !important;
  width: 95% !important;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  margin: auto !important;
  border-radius: 16px !important;
}

.key-modal-stage {
  position: relative;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 60px rgba(11, 17, 32, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.06) !important;
  padding: 14px 18px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.key-modal-stage::-webkit-scrollbar {
  width: 5px;
}

.key-modal-stage::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 4px;
}

.key-modal-stage::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.key-modal-stage::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* 1. Header Top Bar */
.key-modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.km-top-left {
  flex: 1;
  min-width: 240px;
}

.km-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.km-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.km-modal-title {
  font-family: var(--font-display);
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: -0.3px;
}

.km-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Header Stat Pills */
.km-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 12px;
  border-radius: 20px;
  height: 34px;
  box-sizing: border-box;
}

.km-stat-pill.km-stat-wallet {
  border-color: rgba(34, 197, 94, 0.3);
  padding-right: 5px;
}

.km-stat-col {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.km-stat-label {
  font-size: 8px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
}

.km-stat-value {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
}

.km-add-bal-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 2px;
}

.km-add-bal-btn:hover {
  background: #16a34a;
  transform: scale(1.08);
}

.key-modal-close {
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.key-modal-close:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
}

/* 2. Key Packages Grid (5 Balanced Columns) */
.key-packages-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 8px;
  align-items: stretch;
}

/* Professional Gaming Pass Card */
.key-pack-card {
  position: relative;
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.key-pack-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* Top Badge Row */
.kp-top-badge-row {
  margin-bottom: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.key-pack-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2.5px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.2;
}

.key-pack-badge i {
  font-size: 8.5px;
}

/* Featured 4 Hak (En Çok Satan) - High-end Gold Highlight */
.key-pack-card.popular,
.key-pack-card.tier-popular {
  border: 1.5px solid #f59e0b;
  background: linear-gradient(180deg, #1e293b 0%, #172554 100%);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.22), inset 0 1px 0 rgba(251, 191, 36, 0.25);
}

.key-pack-card.popular:hover,
.key-pack-card.tier-popular:hover {
  border-color: #fbbf24;
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.35), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.key-pack-badge.pop-badge,
.tier-popular .key-pack-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  font-weight: 900;
  border: none;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Mega 5 Hak (Dev Fırsat) - Tasteful Royal Purple */
.key-pack-card.mega,
.key-pack-card.tier-mega {
  border: 1.5px solid rgba(139, 92, 246, 0.7);
  background: linear-gradient(180deg, #2e1065 0%, #1e1b4b 100%);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.18), inset 0 1px 0 rgba(167, 139, 250, 0.25);
}

.key-pack-card.mega:hover,
.key-pack-card.tier-mega:hover {
  border-color: #a78bfa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.3);
}

.key-pack-badge.mega-badge,
.tier-mega .key-pack-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  font-weight: 900;
  border: none;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.4);
}

/* Tier Specific Badges */
.tier-starter .key-pack-badge {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.tier-double .key-pack-badge {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
}

.tier-triple .key-pack-badge {
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Hak Hero Count Section */
.kp-hak-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.kp-hak-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 3px;
  transition: all 0.2s ease;
}

.tier-starter .kp-hak-icon {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.22);
  color: #94a3b8;
}

.tier-double .kp-hak-icon {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.tier-triple .kp-hak-icon {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.mega .kp-hak-icon,
.tier-mega .kp-hak-icon {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.35);
  color: #c084fc;
}

.kp-hak-count {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.kp-hak-label {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Pricing Box */
.kp-pricing-box {
  width: 100%;
  padding: 4px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kp-regular-price {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #f43f5e;
  text-decoration-thickness: 1.5px;
  height: 14px;
  line-height: 14px;
  margin-bottom: 1px;
  letter-spacing: -0.2px;
}

.kp-price-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.1;
  margin-bottom: 3px;
}

.popular .kp-price-value,
.tier-popular .kp-price-value {
  color: #fef08a;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.mega .kp-price-value,
.tier-mega .kp-price-value {
  color: #f3e8ff;
  text-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}

/* Savings Tag - High-Energy Gamer Styling */
.kp-savings-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3.5px 9px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.kp-savings-tag.standard {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tier 1 (Starter) - Blue / Slate Subtle Neon Savings */
.tier-starter .kp-savings-tag.has-discount {
  color: #60a5fa;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(37, 99, 235, 0.12) 100%);
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.tier-starter .kp-savings-tag.has-discount i {
  color: #60a5fa;
}

/* Tier 2 (Double) - Neon Emerald Savings */
.kp-savings-tag.has-discount,
.tier-double .kp-savings-tag.has-discount {
  color: #34d399;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.kp-savings-tag.has-discount i {
  color: #34d399;
}

/* Tier 3 (Triple) - Electric Cyan Savings */
.tier-triple .kp-savings-tag.has-discount {
  color: #38bdf8;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(2, 132, 199, 0.14) 100%);
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.25);
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.35);
}

.tier-triple .kp-savings-tag.has-discount i {
  color: #38bdf8;
}

/* Tier 4 (Popular) - Radiant Gold / Amber Savings (En Çok Satan) */
.popular .kp-savings-tag.has-discount,
.tier-popular .kp-savings-tag.has-discount {
  color: #0b0f19;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 60%, #d97706 100%);
  border: 1px solid #fef08a;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.5), 0 2px 8px rgba(0, 0, 0, 0.35);
  font-weight: 900;
  animation: pulse-savings-amber 2.2s infinite ease-in-out;
}

.popular .kp-savings-tag.has-discount i,
.tier-popular .kp-savings-tag.has-discount i {
  color: #0b0f19;
}

/* Tier 5 (Mega) - High-Power Royal Purple Savings (Dev Fırsat) */
.mega .kp-savings-tag.has-discount,
.tier-mega .kp-savings-tag.has-discount {
  color: #ffffff;
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #7c3aed 100%);
  border: 1px solid #e9d5ff;
  box-shadow: 0 0 18px rgba(147, 51, 234, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  animation: pulse-savings-purple 2.2s infinite ease-in-out;
}

.mega .kp-savings-tag.has-discount i,
.tier-mega .kp-savings-tag.has-discount i {
  color: #ffffff;
}

@keyframes pulse-savings-amber {
  0%, 100% {
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.8), 0 0 32px rgba(245, 158, 11, 0.35);
    transform: scale(1.05);
  }
}

@keyframes pulse-savings-purple {
  0%, 100% {
    box-shadow: 0 0 12px rgba(147, 51, 234, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 24px rgba(147, 51, 234, 0.8), 0 0 32px rgba(147, 51, 234, 0.35);
    transform: scale(1.05);
  }
}

.key-pack-card:hover .kp-savings-tag.has-discount {
  filter: brightness(1.1);
}

/* Purchase Button */
.btn-key-pack {
  width: 100%;
  height: 29px;
  background: #1a2234;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
}

.btn-key-pack:hover {
  background: #25304a;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.tier-double:hover .btn-key-pack:not(.btn-popular):not(.btn-mega) {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.tier-triple:hover .btn-key-pack:not(.btn-popular):not(.btn-mega) {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.btn-key-pack:active {
  transform: translateY(0);
}

/* Popular Button (4 Hak) - Solid High-Impact Gold */
.btn-key-pack.btn-popular,
.popular .btn-key-pack {
  background: #f59e0b;
  color: #0b0f19;
  border: none;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

.btn-key-pack.btn-popular:hover,
.popular .btn-key-pack:hover {
  background: #fbbf24;
  color: #0b0f19;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

/* Mega Button (5 Hak) - Solid Royal Purple */
.btn-key-pack.btn-mega,
.mega .btn-key-pack {
  background: #7c3aed;
  color: #ffffff;
  border: none;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.35);
}

.btn-key-pack.btn-mega:hover,
.mega .btn-key-pack:hover {
  background: #8b5cf6;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

/* 3. Bottom Trust Strip */
.key-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 14px;
  background: rgba(19, 29, 56, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 11px;
  color: #64748b;
  gap: 8px;
  align-items: center;
}

.key-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.key-trust-item i {
  font-size: 12px;
  flex-shrink: 0;
}

.key-trust-item span {
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}

/* Responsive Media Queries (Zero Screen Overflow on Laptops & Desktops) */
@media (max-width: 767px) {
  .key-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .key-modal-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .km-top-right {
    width: 100%;
    justify-content: space-between;
  }
  .key-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .key-packages-grid {
    grid-template-columns: 1fr;
  }
  .key-modal-stage {
    padding: 12px 10px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════
   SITE-WIDE OYUN HAKKI BADGES & BUTTONS (No Cash Prices)
   ═════════════════════════════════════════════════════════════════ */

/* Game Card Key Badge & Key Cost Info */
.card-key-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
  color: #0b0f19;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.card-key-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 700;
}

.card-key-info strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

/* Hero Spotlight Key Deal Pill */
.hero-key-deal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 8px 16px;
  border-radius: 12px;
  color: #fbbf24;
  font-size: 15px;
  font-weight: 700;
}

.hero-key-deal-pill strong {
  color: #ffffff;
  font-weight: 900;
}

.hero-deal-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 700;
  margin-left: 10px;
}

/* Flash Deals Key Cost Tag */
.flash-cost-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 700;
}

.flash-cost-tag strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

/* Game Detail View Widget Hero Key Box */
.widget-key-hero-box {
  background: var(--c-surface-2);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.widget-key-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.widget-key-icon-glow {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.widget-key-meta {
  flex: 1;
}

.widget-key-cost-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
}

.widget-key-cost-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: #fbbf24;
}

.widget-key-pill-tag {
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.widget-key-note {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.widget-key-note strong {
  color: #ffffff;
}

/* Similar Games Tags */
.similar-card-key-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #f59e0b;
  color: #0b0f19;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
}

.similar-card-key-tag {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═════════════════════════════════════════════════════════════════
   Game Purchase Confirmation Modal (Satın Alımı Onayla)
   ═════════════════════════════════════════════════════════════════ */

#modal-buy .modal-card,
.modal-buy-card {
  max-width: 480px;
  width: 92%;
  padding: 24px;
  border-radius: 18px;
  background: #111625;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.1);
  box-sizing: border-box;
}

.modal-title-with-sub {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-title-with-sub h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.modal-subtitle {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

/* Game Header Banner */
.buy-game-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.buy-thumb-wrap {
  position: relative;
  width: 110px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
}

.buy-game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.buy-thumb-platform {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0.3px;
}

.buy-game-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.buy-game-type-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.buy-game-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.buy-game-cost-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2.5px 8px;
  border-radius: 5px;
  font-size: 11.5px;
  color: #fbbf24;
  font-weight: 700;
  width: fit-content;
  margin-top: 2px;
}

.buy-game-cost-pill strong {
  color: #ffffff;
}

/* Order Summary Box */
.buy-checkout-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-sizing: border-box;
}

.buy-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.summary-label {
  color: #94a3b8;
  font-weight: 500;
}

.summary-val {
  color: #f1f5f9;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.summary-val.highlight-green {
  color: #34d399;
}

.summary-val.highlight-gold {
  color: #fbbf24;
  font-weight: 800;
}

.buy-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 2px 0;
}

.summary-val.val-sufficient {
  color: #22c55e;
  font-weight: 800;
}

.summary-val.val-insufficient {
  color: #ef4444;
  font-weight: 800;
}

/* Notice Box */
.buy-action-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.buy-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.buy-notice-box i {
  margin-top: 2px;
  font-size: 13px;
  flex-shrink: 0;
}

.buy-notice-box.notice-ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #a7f3d0;
}
.buy-notice-box.notice-ok i {
  color: #22c55e;
}

.buy-notice-box.notice-warn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fde68a;
}
.buy-notice-box.notice-warn i {
  color: #f59e0b;
}

/* Checkout Confirm Buttons */
.btn-checkout-confirm {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-checkout-confirm.btn-use-key {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-checkout-confirm.btn-use-key:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

.btn-checkout-confirm.btn-need-key {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-checkout-confirm.btn-need-key:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.btn-checkout-confirm:active {
  transform: translateY(0);
}

/* Trust Strip */
.buy-modal-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.buy-assurance-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.buy-assurance-item i {
  color: #34d399;
  font-size: 11px;
}

.buy-assurance-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.btn-key {
  background: #f59e0b;
  color: #ffffff;
  font-weight: 800;
  border: none;
  transition: all 0.25s var(--ease-smooth);
}

.btn-key:hover {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-outline-key {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-weight: 700;
}

.btn-outline-key:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

/* Sticky Widget Pasaj Key Features */
.widget-key-alt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-top: 12px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.widget-key-alt-row:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.widget-key-alt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-key-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.widget-key-alt-title {
  display: block;
  font-size: 13px;
  color: #fbbf24;
  font-weight: 600;
}

.widget-key-alt-title strong {
  color: #ffffff;
  font-weight: 800;
}

.widget-key-alt-sub {
  display: block;
  font-size: 11px;
  color: var(--c-text-muted);
}

.widget-key-alt-cta {
  color: #f59e0b;
  font-size: 12px;
}

.widget-dual-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.widget-cta-key-btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.widget-user-balances {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
}

.widget-bal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text-muted);
}

.widget-bal-item strong {
  color: var(--c-title);
}

.widget-status-link {
  color: var(--c-brand-light);
  font-weight: 700;
  text-decoration: none;
  font-size: 11.5px;
}

.widget-status-link:hover {
  text-decoration: underline;
}

/* Similar Games Pricing */
.similar-card-prices {
  display: flex;
  flex-direction: column;
}

.similar-card-old-price {
  font-size: 11px;
  color: var(--c-text-dim);
  text-decoration: line-through;
  line-height: 1;
}

.similar-card-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-neon-green);
  line-height: 1.2;
}

/* ═════════════════════════════════════════════════════════════════
   COMPREHENSIVE LIGHT THEME COLOR & CONTRAST FIXES
   (Ensures zero white text on light backgrounds across the site)
   ═════════════════════════════════════════════════════════════════ */

/* 1. Header & Navigation Badges */
[data-theme="light"] .key-badge {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .key-badge-val {
  color: #0f172a !important;
}

[data-theme="light"] .key-badge:hover {
  background: #fffbeb;
  border-color: #f59e0b;
}

[data-theme="light"] .wallet-badge {
  background: #ffffff;
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .wallet-badge-val {
  color: #0f172a !important;
}

[data-theme="light"] .wallet-badge:hover {
  background: #f0fdf4;
  border-color: #22c55e;
}

[data-theme="light"] .user-profile-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .user-menu-name {
  color: #0f172a;
}

[data-theme="light"] .nav-tab {
  color: #475569;
}

[data-theme="light"] .nav-tab:hover {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .nav-tab.nav-tab-keys:hover {
  color: #0f172a !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

[data-theme="light"] .nav-tab .tab-badge {
  background: rgba(0, 0, 0, 0.08);
  color: #334155;
}

[data-theme="light"] .nav-tab.active .tab-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

[data-theme="light"] .btn-guest-keys {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.5);
  color: #b45309;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

[data-theme="light"] .btn-guest-keys i {
  color: #d97706;
}

[data-theme="light"] .btn-guest-keys:hover {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

[data-theme="light"] .btn-guest-keys:hover i {
  color: #ffffff;
}

[data-theme="light"] .btn-outline-auth {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1e293b;
}

[data-theme="light"] .btn-outline-auth:hover {
  background: #f8fafc;
  border-color: var(--c-brand);
  color: var(--c-brand);
}

[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* 2. Game Cards (Store, Catalog, Search, Home) */
[data-theme="light"] .game-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .game-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .card-title {
  color: #0f172a;
}

[data-theme="light"] .card-footer {
  border-top-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .card-key-info {
  color: #b45309;
}

[data-theme="light"] .card-key-info i {
  color: #d97706;
}

[data-theme="light"] .card-key-info strong {
  color: #0f172a !important;
}

[data-theme="light"] .card-key-info span {
  color: #334155;
}

/* 3. Flash Deals Key Cost Tag & Cards */
[data-theme="light"] .flash-cost-tag {
  color: #b45309;
}

[data-theme="light"] .flash-cost-tag i {
  color: #d97706;
}

[data-theme="light"] .flash-cost-tag strong {
  color: #0f172a !important;
}

[data-theme="light"] .flash-cost-tag span {
  color: #334155;
}

[data-theme="light"] .flash-card-title {
  color: #0f172a;
}

[data-theme="light"] .flash-card-desc {
  color: #64748b;
}

[data-theme="light"] .flash-stock-text {
  color: #64748b;
}

/* 4. Category Chips & Filter Bar */
[data-theme="light"] .chip-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

[data-theme="light"] .chip-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .chip-btn.active {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
}

[data-theme="light"] .search-box input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

[data-theme="light"] .trust-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trust-info strong {
  color: #0f172a;
}

[data-theme="light"] .trust-info p {
  color: #64748b;
}

/* 5. Game Detail Page / Sticky Widget */
[data-theme="light"] .widget-key-hero-box {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .widget-key-cost-val {
  color: #b45309;
}

[data-theme="light"] .widget-key-cost-label {
  color: #64748b;
}

[data-theme="light"] .widget-key-note {
  color: #475569;
}

[data-theme="light"] .widget-key-note strong {
  color: #0f172a !important;
}

[data-theme="light"] .widget-key-alt-row {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .widget-key-alt-row:hover {
  background: #fffbeb;
  border-color: #f59e0b;
}

[data-theme="light"] .widget-key-alt-title {
  color: #b45309;
}

[data-theme="light"] .widget-key-alt-title strong {
  color: #0f172a !important;
}

[data-theme="light"] .widget-user-balances {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .widget-bal-item {
  color: #475569;
}

[data-theme="light"] .widget-bal-item strong {
  color: #0f172a;
}

[data-theme="light"] .detail-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .similar-game-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .similar-card-title {
  color: #0f172a;
}

[data-theme="light"] .similar-card-buy-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--c-brand);
}

[data-theme="light"] .similar-card-buy-btn:hover {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
}

/* 6. Buy Confirmation Modal */
[data-theme="light"] #modal-buy .modal-card,
[data-theme="light"] .modal-buy-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-title-with-sub h3 {
  color: #0f172a;
}

[data-theme="light"] .modal-subtitle {
  color: #64748b;
}

[data-theme="light"] .buy-game-header {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .buy-thumb-wrap {
  border-color: #cbd5e1;
}

[data-theme="light"] .buy-game-title {
  color: #0f172a;
}

[data-theme="light"] .buy-game-cost-pill {
  background: #fef3c7;
  border-color: #fde68a;
  color: #b45309;
}

[data-theme="light"] .buy-game-cost-pill strong {
  color: #78350f;
}

[data-theme="light"] .buy-checkout-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .summary-label {
  color: #64748b;
}

[data-theme="light"] .summary-val {
  color: #0f172a;
}

[data-theme="light"] .summary-val.highlight-green {
  color: #059669;
}

[data-theme="light"] .summary-val.highlight-gold {
  color: #b45309;
}

[data-theme="light"] .buy-summary-divider {
  background: #e2e8f0;
}

[data-theme="light"] .buy-notice-box.notice-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

[data-theme="light"] .buy-notice-box.notice-warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

[data-theme="light"] .buy-assurance-item {
  color: #64748b;
}

[data-theme="light"] .buy-modal-assurance {
  border-top-color: #e2e8f0;
}

[data-theme="light"] .buy-assurance-dot {
  color: #cbd5e1;
}

[data-theme="light"] .btn-outline-key {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.4);
  color: #b45309;
}

[data-theme="light"] .btn-outline-key:hover {
  background: #fef3c7;
  border-color: #f59e0b;
}

/* 7. Modals (Wallet, Login, Register, Edit, etc.) */
[data-theme="light"] .modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .preset-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .preset-btn:hover {
  background: #e2e8f0;
  border-color: var(--c-brand);
}

[data-theme="light"] .form-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
}

[data-theme="light"] .form-input:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .input-icon-wrap .input-icon {
  color: #94a3b8;
}

[data-theme="light"] .modal-auth-footer {
  color: #64748b;
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* 8. Library Page & Credentials */
[data-theme="light"] .library-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .library-empty {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .credentials-box {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cred-label {
  color: #64748b;
}

[data-theme="light"] .cred-val {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .guard-result-pill {
  background: #f0fdf4;
  border-color: #22c55e;
}

[data-theme="light"] .guard-code-text {
  color: #0f172a;
}

/* 9. Profile Page */
[data-theme="light"] .profile-hero-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .profile-tab-nav-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

[data-theme="light"] .profile-tab-nav-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

[data-theme="light"] .profile-tab-nav-btn.active {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
}

[data-theme="light"] .profile-stat-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .profile-stat-icon {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .profile-stat-action-btn {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .profile-stat-action-btn:hover {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
}

[data-theme="light"] .profile-content-section,
[data-theme="light"] .profile-settings-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

/* 10. Dropdowns & FAQ */
[data-theme="light"] .user-dropdown-menu {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dropdown-item {
  color: #1e293b;
}

[data-theme="light"] .dropdown-item:hover {
  background: #f1f5f9;
  color: var(--c-brand);
}

[data-theme="light"] .dropdown-divider {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-section {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-item {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-question {
  color: #0f172a;
}

[data-theme="light"] .faq-answer {
  color: #475569;
}

/* 11. Admin Table in Light Mode */
[data-theme="light"] .admin-stat-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .admin-stat-icon {
  background: #f1f5f9;
}

[data-theme="light"] .admin-table-wrap {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .admin-table th {
  background: #f8fafc;
  color: #475569;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .admin-table td {
  color: #1e293b;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .admin-table tbody tr:hover {
  background: #f8fafc;
}

/* 12. Key Modal (Oyun Hakkı) in Light Mode */
[data-theme="light"] .key-modal-stage {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.18), 0 0 40px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .km-modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .km-modal-desc {
  color: #475569;
}

[data-theme="light"] .km-modal-desc strong {
  color: #0f172a;
}

[data-theme="light"] .km-stat-pill {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .km-stat-label {
  color: #64748b;
}

[data-theme="light"] .km-stat-value {
  color: #0f172a;
}

[data-theme="light"] .key-modal-close {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

[data-theme="light"] .key-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

[data-theme="light"] .key-pack-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .key-pack-card:hover {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .key-pack-badge {
  background: #f1f5f9;
  color: #475569;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .key-pack-card.popular {
  background: #fffdf5;
  border-color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.15), 0 8px 24px rgba(245, 158, 11, 0.1);
}

[data-theme="light"] .key-pack-badge.pop-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
}

[data-theme="light"] .key-pack-card.mega {
  background: #fdfcff;
  border-color: #8b5cf6;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.12), 0 8px 24px rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .key-pack-badge.mega-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
}

[data-theme="light"] .tier-starter .key-pack-badge {
  color: #475569;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

[data-theme="light"] .tier-double .key-pack-badge {
  color: #047857;
  background: #d1fae5;
  border-color: #a7f3d0;
}

[data-theme="light"] .tier-triple .key-pack-badge {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #bae6fd;
}

[data-theme="light"] .tier-starter .kp-hak-icon {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}

[data-theme="light"] .tier-double .kp-hak-icon {
  background: #d1fae5;
  border-color: #a7f3d0;
  color: #059669;
}

[data-theme="light"] .tier-triple .kp-hak-icon {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

[data-theme="light"] .kp-hak-icon,
[data-theme="light"] .popular .kp-hak-icon,
[data-theme="light"] .tier-popular .kp-hak-icon {
  background: #fef3c7;
  border-color: #fde68a;
  color: #d97706;
}

[data-theme="light"] .mega .kp-hak-icon,
[data-theme="light"] .tier-mega .kp-hak-icon {
  background: #ede9fe;
  border-color: #ddd6fe;
  color: #7c3aed;
}

[data-theme="light"] .kp-hak-count {
  color: #0f172a;
}

[data-theme="light"] .kp-hak-label {
  color: #64748b;
}

[data-theme="light"] .kp-pricing-box {
  border-top-color: rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .kp-regular-price {
  color: #64748b;
  text-decoration-color: #e11d48;
}

[data-theme="light"] .kp-price-value {
  color: #0f172a;
}

[data-theme="light"] .popular .kp-price-value,
[data-theme="light"] .tier-popular .kp-price-value {
  color: #b45309;
  text-shadow: none;
}

[data-theme="light"] .mega .kp-price-value,
[data-theme="light"] .tier-mega .kp-price-value {
  color: #6d28d9;
  text-shadow: none;
}

[data-theme="light"] .kp-savings-tag.standard {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}

[data-theme="light"] .tier-starter .kp-savings-tag.has-discount {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #93c5fd;
  box-shadow: 0 1px 6px rgba(37, 99, 235, 0.2);
  text-shadow: none;
}
[data-theme="light"] .tier-starter .kp-savings-tag.has-discount i {
  color: #2563eb;
}

[data-theme="light"] .kp-savings-tag.has-discount,
[data-theme="light"] .tier-double .kp-savings-tag.has-discount {
  color: #065f46;
  background: #d1fae5;
  border-color: #34d399;
  box-shadow: 0 1px 6px rgba(16, 185, 129, 0.25);
  text-shadow: none;
}
[data-theme="light"] .tier-double .kp-savings-tag.has-discount i {
  color: #059669;
}

[data-theme="light"] .tier-triple .kp-savings-tag.has-discount {
  color: #0369a1;
  background: #e0f2fe;
  border-color: #38bdf8;
  box-shadow: 0 1px 6px rgba(14, 165, 233, 0.25);
  text-shadow: none;
}
[data-theme="light"] .tier-triple .kp-savings-tag.has-discount i {
  color: #0284c7;
}

[data-theme="light"] .popular .kp-savings-tag.has-discount,
[data-theme="light"] .tier-popular .kp-savings-tag.has-discount {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  border-color: #fbbf24;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
  text-shadow: none;
}
[data-theme="light"] .popular .kp-savings-tag.has-discount i,
[data-theme="light"] .tier-popular .kp-savings-tag.has-discount i {
  color: #0b0f19;
}

[data-theme="light"] .mega .kp-savings-tag.has-discount,
[data-theme="light"] .tier-mega .kp-savings-tag.has-discount {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.4);
  text-shadow: none;
}
[data-theme="light"] .mega .kp-savings-tag.has-discount i,
[data-theme="light"] .tier-mega .kp-savings-tag.has-discount i {
  color: #ffffff;
}

[data-theme="light"] .btn-key-pack {
  background: #0f172a;
  color: #ffffff;
  border: none;
}

[data-theme="light"] .btn-key-pack:hover {
  background: #1e293b;
  color: #ffffff;
}

[data-theme="light"] .btn-key-pack.btn-popular,
[data-theme="light"] .popular .btn-key-pack {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
}

[data-theme="light"] .btn-key-pack.btn-popular:hover,
[data-theme="light"] .popular .btn-key-pack:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0b0f19;
}

[data-theme="light"] .btn-key-pack.btn-mega,
[data-theme="light"] .mega .btn-key-pack {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
}

[data-theme="light"] .btn-key-pack.btn-mega:hover,
[data-theme="light"] .mega .btn-key-pack:hover {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
  color: #ffffff;
}

[data-theme="light"] .key-trust-strip {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}

[data-theme="light"] .key-trust-item span {
  color: #334155;
}

/* ═════════════════════════════════════════════════════════════════
   LUMINOUS LIGHT THEME ENHANCEMENTS (Apple & Epic Games Quality)
   ═════════════════════════════════════════════════════════════════ */

/* 1. Ambient Background Soft Glow (Clean Pastel Aura) */
[data-theme="light"] body::before {
  background: radial-gradient(ellipse at 35% 25%, rgba(99, 102, 241, 0.08), transparent 60%),
              radial-gradient(ellipse at 65% 35%, rgba(6, 182, 212, 0.07), transparent 60%),
              radial-gradient(ellipse at 50% 75%, rgba(168, 85, 247, 0.05), transparent 70%);
}

/* 2. Hero Showcase Slider in Light Mode */
[data-theme="light"] .hero-showcase-container {
  background: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 16px 45px rgba(99, 102, 241, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .hero-spotlight-stage {
  background: #f8fafc;
}

[data-theme="light"] .hero-bg-img {
  opacity: 0.32;
  filter: saturate(1.2) contrast(1.1) brightness(1.05);
}

[data-theme="light"] .hero-slide-overlay {
  background: 
    radial-gradient(circle at 65% 35%, rgba(99, 102, 241, 0.1) 0%, transparent 64%),
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 45%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.9) 100%),
    linear-gradient(0deg, #ffffff 0%, transparent 60%);
}

[data-theme="light"] .hero-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--c-brand);
  border-color: rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .hero-title {
  color: #0f172a !important;
  text-shadow: none;
}

[data-theme="light"] .hero-desc {
  color: #475569 !important;
  text-shadow: none;
}

[data-theme="light"] .hero-price-current {
  color: #1e1b4b !important;
  text-shadow: none;
}

[data-theme="light"] .hero-price-old {
  color: #94a3b8 !important;
}

[data-theme="light"] .hero-key-deal-pill {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

[data-theme="light"] .hero-key-deal-pill strong {
  color: #0f172a !important;
  font-weight: 900;
}

[data-theme="light"] .hero-deal-sub {
  color: #15803d;
}

[data-theme="light"] .hero-perk-item {
  color: #334155;
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-rating-badge {
  color: #0284c7;
  background: #e0f2fe;
  border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .hero-buy-btn {
  background: #d97706;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

[data-theme="light"] .hero-buy-btn:hover {
  background: #b45309;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45);
}

[data-theme="light"] .hero-delivery-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .hero-explore-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1e293b;
}

[data-theme="light"] .hero-explore-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .hero-cover-holo {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.88) 55%, #ffffff 100%);
}

[data-theme="light"] .hero-cover-holo span {
  color: #059669;
}

[data-theme="light"] .hero-cover-3d .hero-cover-inner {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 25px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .hero-cover-3d:hover .hero-cover-inner {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), 0 0 35px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .hero-side-rail {
  background: #f8fafc;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-rail-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-rail-title {
  color: #0f172a !important;
  text-shadow: none;
}

[data-theme="light"] .hero-rail-title i {
  color: #d97706 !important;
  filter: none;
}

[data-theme="light"] .hero-rail-counter {
  color: #475569 !important;
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-rail-item {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-rail-item:hover {
  background: #f1f5f9;
  border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .hero-rail-item.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.06) 100%);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .hero-rail-thumb {
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-rail-name {
  color: #1e293b !important;
}

[data-theme="light"] .hero-rail-item.active .hero-rail-name {
  color: #0f172a !important;
  text-shadow: none;
}

[data-theme="light"] .hero-rail-price {
  color: #059669 !important;
}

[data-theme="light"] .slider-nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .slider-nav-btn:hover {
  background: var(--c-brand);
  color: #ffffff;
  border-color: var(--c-brand);
}

/* 3. Catalog Game Card Enhancements in Light Mode */
[data-theme="light"] .card-genre {
  color: #0284c7;
}

[data-theme="light"] .price-current {
  color: #059669;
}

[data-theme="light"] .vip-support-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .vip-support-content h3 {
  color: #0f172a !important;
}

[data-theme="light"] .vip-support-content p {
  color: #475569 !important;
}

/* 4. Footer in Light Mode */
[data-theme="light"] footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .brand-col p {
  color: #64748b;
}

[data-theme="light"] .footer-col h4 {
  color: #0f172a;
}

[data-theme="light"] .footer-col a {
  color: #64748b;
}

[data-theme="light"] .footer-col a:hover {
  color: var(--c-brand);
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #94a3b8;
}

/* 5. Quick Genre Explorer Bar in Light Mode */
[data-theme="light"] .genre-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .genre-card:hover {
  background: #f8fafc;
  border-color: var(--c-brand);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .genre-icon {
  background: #f1f5f9;
  color: var(--c-brand);
}

[data-theme="light"] .genre-card:hover .genre-icon {
  background: var(--c-brand);
  color: #ffffff;
}

[data-theme="light"] .genre-name {
  color: #0f172a;
}

[data-theme="light"] .genre-sub {
  color: #64748b;
}

/* 6. Testimonials in Light Mode */
[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .testimonial-avatar {
  background: #f1f5f9;
  color: var(--c-brand);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .testimonial-info h5 {
  color: #0f172a;
}

[data-theme="light"] .testimonial-text {
  color: #334155;
}

[data-theme="light"] .testimonial-game-tag {
  background: rgba(99, 102, 241, 0.08);
  color: var(--c-brand);
}

/* 7. Sistem Paneli (Kokpit) in Light Mode */
[data-theme="light"] .pool-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .pool-card.primary-pool {
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .pool-card.primary-pool:hover {
  border-color: var(--c-brand);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.18);
}

[data-theme="light"] .pool-card.backup-pool {
  background: linear-gradient(135deg, #ffffff 0%, #ecfeff 100%);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

[data-theme="light"] .pool-card.backup-pool:hover {
  border-color: var(--c-accent);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.18);
}

[data-theme="light"] .pool-card.engine-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

[data-theme="light"] .pool-card.engine-card:hover {
  border-color: #a855f7;
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.18);
}

[data-theme="light"] .pool-card-title {
  color: #0f172a;
}

[data-theme="light"] .pool-stat-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .pool-stat-box:hover {
  background: #f8fafc;
  border-color: rgba(99, 102, 241, 0.28);
}

[data-theme="light"] .pool-stat-lbl {
  color: #64748b;
}

[data-theme="light"] .pool-stat-val {
  color: #0f172a;
}

[data-theme="light"] .pool-stat-val.accent-green {
  color: #059669;
  text-shadow: none;
}

[data-theme="light"] .pool-stat-val.accent-cyan {
  color: #0891b2;
  text-shadow: none;
}

[data-theme="light"] .pool-stat-val.accent-purple {
  color: #7c3aed;
  text-shadow: none;
}

[data-theme="light"] .badge-pulse-green {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .badge-pulse-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.3);
}

[data-theme="light"] .badge-pulse-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #7c3aed;
  border-color: rgba(168, 85, 247, 0.3);
}

[data-theme="light"] .account-tag-badge.acc-primary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--c-brand);
  border-color: rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .account-tag-badge.acc-secondary {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.25);
}

/* 8. Profile Hero Banner, Modals & Floating Bar */
[data-theme="light"] .profile-hero-banner {
  background-color: #e2e8f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .modal-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .sticky-bar-thumb {
  border-color: rgba(0, 0, 0, 0.1);
  background: #f1f5f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sticky-bar-title {
  color: #0f172a;
}

[data-theme="light"] .sticky-bar-sub {
  color: #64748b;
}

/* ═════════════════════════════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE ARCHITECTURE & BOTTOM NAVIGATION
   ═════════════════════════════════════════════════════════════════ */

/* Default: Mobile Bottom Nav is hidden on desktop (> 768px) */
.mobile-bottom-nav {
  display: none !important;
}

/* ── Tablets & Mobile Devices (<= 768px) ── */
@media (max-width: 768px) {
  /* 1. Global Viewport & Container Settings */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    -webkit-tap-highlight-color: transparent;
  }

  body::before {
    width: 320px !important;
    height: 180px !important;
    top: -80px !important;
  }

  main {
    padding: 14px 12px calc(env(safe-area-inset-bottom, 0px) + 85px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .top-notice-bar {
    font-size: 11px !important;
    padding: 6px 10px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .top-notice-bar span {
    white-space: normal !important;
  }

  .live-ticker-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    margin-bottom: 16px !important;
  }

  /* 2. Top Header Optimization */
  #site-header {
    height: 56px !important;
  }

  .header-inner {
    height: 56px !important;
    padding: 0 12px !important;
    gap: 8px !important;
    justify-content: space-between !important;
  }

  .logo {
    display: flex !important;
    align-items: center !important;
  }

  .logo-img {
    height: 32px !important;
    max-width: 125px !important;
  }

  /* Hide Desktop Navigation Tabs (Moved to Mobile Bottom Bar) */
  .nav-tabs {
    display: none !important;
  }

  .header-right {
    gap: 8px !important;
  }

  /* Guest controls in Header - Completely hidden on mobile (Giriş Yap is in the bottom nav) */
  .auth-guest-group {
    display: none !important;
  }

  /* User controls in Header */
  .auth-user-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .key-badge {
    padding: 4px 8px !important;
    gap: 5px !important;
    font-size: 11px !important;
    border-radius: 20px !important;
    height: 32px !important;
  }

  .key-badge-icon-wrap {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
  }

  .key-badge-val {
    font-size: 11px !important;
  }

  .key-add-btn {
    display: none !important;
  }

  .wallet-badge {
    padding: 4px 8px !important;
    gap: 5px !important;
    font-size: 11px !important;
    border-radius: 20px !important;
    height: 32px !important;
  }

  .wallet-badge-icon-wrap {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
  }

  .wallet-badge-val {
    font-size: 11px !important;
  }

  .wallet-add-btn {
    display: none !important;
  }

  .user-menu-wrapper {
    position: relative !important;
  }

  .user-profile-btn {
    padding: 2px !important;
    border: none !important;
    background: transparent !important;
    gap: 0 !important;
  }

  .user-avatar-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .user-menu-name,
  .user-chevron {
    display: none !important;
  }

  .user-dropdown-menu {
    right: 0 !important;
    top: calc(100% + 8px) !important;
    min-width: 230px !important;
  }

  /* Gece / Gündüz Modu Butonu (Mobilde Üst Sağda Belirgin & Şık) */
  .theme-toggle-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--c-surface-2) !important;
    border: 1px solid var(--c-border-hover) !important;
    color: #f59e0b !important;
    font-size: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }

  .theme-toggle-btn i {
    color: #f59e0b !important;
    font-size: 16px !important;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5)) !important;
  }

  .theme-toggle-btn:active {
    transform: scale(0.92) !important;
  }

  [data-theme="light"] .theme-toggle-btn {
    color: #d97706 !important;
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  [data-theme="light"] .theme-toggle-btn i {
    color: #d97706 !important;
    filter: drop-shadow(0 0 6px rgba(217, 119, 6, 0.4)) !important;
  }

  /* 3. Mobile Bottom Navigation Bar (Steam/Epic Mobile Style) */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 62px !important;
    background: rgba(11, 15, 25, 0.95) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 9999 !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 4px calc(env(safe-area-inset-bottom, 0px) + 2px) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5) !important;
    box-sizing: border-box !important;
  }

  [data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08) !important;
  }

  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 2px;
    transition: all 0.2s var(--ease-smooth);
    position: relative;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  [data-theme="light"] .mobile-nav-item {
    color: #64748b;
  }

  .mobile-nav-item i {
    font-size: 17px;
    transition: transform 0.2s var(--ease-smooth), color 0.2s ease;
  }

  .mobile-nav-item.active {
    color: var(--c-brand-light) !important;
  }

  .mobile-nav-item.active i {
    color: var(--c-brand-light) !important;
    transform: translateY(-2px);
  }

  .mobile-nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--c-brand);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  /* Elevated Center FAB for Hak Al */
  .mobile-nav-fab-btn {
    transform: translateY(-10px);
    padding: 0 4px;
  }

  .mobile-nav-fab-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    display: grid;
    place-items: center;
    color: #0b0f19;
    font-size: 19px;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55), 0 0 0 3px rgba(11, 15, 25, 0.95);
    transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease;
    margin-bottom: 2px;
  }

  [data-theme="light"] .mobile-nav-fab-circle {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45), 0 0 0 3px #ffffff;
  }

  .mobile-nav-fab-btn:active .mobile-nav-fab-circle {
    transform: scale(0.92);
  }

  .mobile-nav-fab-label {
    color: #fbbf24 !important;
    font-weight: 800;
    font-size: 10.5px;
  }

  /* 4. Split Hero Showcase Slider */
  .hero-showcase-container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    border-radius: var(--radius-lg) !important;
  }

  .hero-slide {
    padding: 18px 14px 16px !important;
    min-height: 360px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero-title {
    font-size: 21px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
  }

  .hero-perks {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }

  .hero-perk-item {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  .hero-desc {
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hero-price-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }

  .hero-key-deal-pill {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .hero-buy-btn {
    width: 100% !important;
    padding: 12px !important;
    font-size: 13.5px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .hero-explore-btn {
    width: 100% !important;
    padding: 10px !important;
    font-size: 12.5px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .hero-cover-3d {
    display: none !important;
  }

  .hero-side-rail {
    border-left: none !important;
    border-top: 1px solid var(--c-border) !important;
    padding: 10px 8px !important;
  }

  .hero-rail-header {
    margin-bottom: 8px !important;
  }

  .hero-rail-list {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .hero-rail-list::-webkit-scrollbar {
    display: none !important;
  }

  .hero-rail-item {
    flex: 0 0 170px !important;
    padding: 8px !important;
    border-radius: var(--radius-md) !important;
  }

  /* 5. Trust Bar & Flash Deals */
  .trust-bar {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
  }

  .trust-card {
    padding: 12px 14px !important;
    gap: 12px !important;
  }

  .trust-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  .trust-info h4 {
    font-size: 13.5px !important;
  }

  .trust-info p {
    font-size: 11.5px !important;
  }

  .flash-deals-section {
    padding: 16px 12px !important;
    margin-bottom: 24px !important;
    border-radius: var(--radius-lg) !important;
  }

  .flash-deals-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
  }

  .flash-deals-title-wrap {
    gap: 10px !important;
  }

  .flash-fire-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
  }

  .flash-title-row h3 {
    font-size: 16px !important;
  }

  .flash-countdown-box {
    align-self: flex-start !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .flash-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .flash-card {
    border-radius: var(--radius-md) !important;
  }

  .flash-card-media {
    height: 95px !important;
  }

  .flash-card-body {
    padding: 8px !important;
  }

  .flash-card-title {
    font-size: 12px !important;
    line-height: 1.25 !important;
    max-height: 2.5em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  .flash-card-bottom {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin-top: 6px !important;
  }

  .flash-buy-btn {
    width: 100% !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .genre-explorer-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .genre-card {
    padding: 10px 8px !important;
  }

  .genre-icon {
    font-size: 18px !important;
  }

  .genre-name {
    font-size: 12px !important;
  }

  .genre-sub {
    font-size: 10px !important;
  }

  .how-it-works-section,
  .comparison-section {
    padding: 20px 14px !important;
    margin-bottom: 24px !important;
  }

  .how-steps-grid,
  .comparison-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 6. Games Store Page (#tab-games) Responsive */
  .section-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  .section-title-wrap h2 {
    font-size: 19px !important;
  }

  .search-box {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
  }

  .search-box input {
    width: 100% !important;
    font-size: 13.5px !important;
    padding: 11px 14px 11px 40px !important;
  }

  .category-chips {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 2px 2px 10px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .category-chips::-webkit-scrollbar {
    display: none !important;
  }

  .chip-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 7px 14px !important;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .game-card {
    border-radius: var(--radius-md) !important;
  }

  .game-card .card-media {
    height: 105px !important;
  }

  .game-card .card-hover-preview-badge {
    display: none !important;
  }

  .game-card .card-key-badge {
    top: 6px !important;
    left: 6px !important;
    font-size: 9.5px !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
  }

  .game-card .platform-badge {
    display: none !important;
  }

  .game-card .card-body {
    padding: 8px !important;
    gap: 3px !important;
  }

  .game-card .card-genre {
    font-size: 9px !important;
    margin-bottom: 2px !important;
  }

  .game-card .card-title {
    font-size: 12px !important;
    line-height: 1.25 !important;
    max-height: 2.5em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 4px !important;
  }

  .game-card .card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 4px !important;
  }

  .game-card .card-key-info {
    font-size: 11px !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .game-card .card-key-info strong {
    font-size: 13px !important;
  }

  .game-card .card-buy-btn {
    width: 100% !important;
    padding: 7px 10px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  #load-more-wrap {
    margin-top: 24px !important;
  }

  #load-more-btn {
    width: 100% !important;
    padding: 13px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
  }

  /* 7. Modals Responsive Layout & Full Screen Touch Friendly */
  .modal-backdrop {
    padding: 10px 8px !important;
    place-items: center !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modal-card,
  .modal-card-wide,
  .modal-buy-card,
  .wallet-modal-card {
    max-width: 100% !important;
    width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 18px 14px !important;
    border-radius: 18px !important;
    margin: auto !important;
    box-sizing: border-box !important;
  }

  .modal-header h3 {
    font-size: 17px !important;
  }

  /* Key Packages Modal Stage */
  .key-modal-stage {
    padding: 14px 12px !important;
  }

  .key-modal-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    position: relative !important;
    margin-bottom: 14px !important;
  }

  .key-modal-close {
    position: absolute !important;
    top: -4px !important;
    right: -2px !important;
    font-size: 22px !important;
    padding: 4px 8px !important;
    z-index: 10 !important;
  }

  .km-title-row {
    padding-right: 36px !important;
  }

  .km-modal-title {
    font-size: 17px !important;
  }

  .km-top-right {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    justify-content: space-between !important;
  }

  .km-stat-pill {
    flex: 1 !important;
    min-width: 120px !important;
    padding: 6px 10px !important;
    justify-content: flex-start !important;
  }

  .km-stat-label {
    font-size: 8.5px !important;
  }

  .km-stat-value {
    font-size: 12.5px !important;
  }

  .key-packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .key-pack-card {
    padding: 10px 8px !important;
    border-radius: 12px !important;
  }

  .key-pack-badge {
    font-size: 8.5px !important;
    padding: 2px 5px !important;
  }

  .kp-hak-hero {
    margin-bottom: 6px !important;
  }

  .kp-hak-icon {
    font-size: 13px !important;
    margin-bottom: 2px !important;
  }

  .kp-hak-count {
    font-size: 26px !important;
    line-height: 1 !important;
  }

  .kp-hak-label {
    font-size: 8.5px !important;
  }

  .kp-pricing-box {
    margin-bottom: 8px !important;
  }

  .kp-regular-price {
    font-size: 11px !important;
  }

  .kp-price-value {
    font-size: 17px !important;
  }

  .kp-savings-tag {
    font-size: 9px !important;
    padding: 2px 4px !important;
  }

  .btn-key-pack {
    padding: 8px 6px !important;
    font-size: 11.5px !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .key-trust-strip {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    margin-top: 10px !important;
  }

  .key-trust-item {
    font-size: 11px !important;
  }

  /* Wallet Modal */
  .preset-amount-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
  }

  .preset-btn {
    padding: 9px 4px !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .wallet-input-wrapper {
    margin-bottom: 4px !important;
  }

  .wallet-amount-input {
    font-size: 18px !important;
    padding: 10px 12px 10px 32px !important;
  }

  .wallet-pay-btn {
    padding: 13px !important;
    font-size: 14px !important;
    width: 100% !important;
  }

  .wallet-payment-methods {
    gap: 6px !important;
    font-size: 10.5px !important;
    flex-wrap: wrap !important;
    margin-bottom: 14px !important;
  }

  /* Buy Modal */
  .buy-game-header {
    gap: 10px !important;
    padding: 10px !important;
  }

  .buy-thumb-wrap {
    width: 75px !important;
    height: 48px !important;
  }

  .buy-game-title {
    font-size: 13px !important;
  }

  .buy-checkout-card {
    padding: 12px !important;
    gap: 8px !important;
  }

  .summary-label,
  .summary-val {
    font-size: 12px !important;
  }

  .btn-checkout-confirm {
    padding: 12px !important;
    font-size: 12.5px !important;
    width: 100% !important;
  }

  /* Inputs iOS Safari Zoom Prevention */
  .form-input,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"] {
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  /* 8. Game Detail View (#tab-game-detail) */
  .game-detail-container {
    padding: 8px 0 30px !important;
  }

  .detail-header-card {
    padding: 14px !important;
  }

  .detail-main-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .detail-hero-media {
    height: 200px !important;
  }

  .detail-page-title {
    font-size: 19px !important;
  }

  .detail-media-gallery {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .detail-gallery-thumb {
    flex: 0 0 75px !important;
    height: 48px !important;
  }

  .detail-card {
    padding: 14px !important;
  }

  .detail-reqs-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .detail-similar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* 9. Library View (#tab-library) */
  .purchased-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .library-card {
    padding: 14px 12px !important;
    gap: 12px !important;
  }

  .lib-thumb {
    width: 52px !important;
    height: 52px !important;
  }

  .lib-meta h3 {
    font-size: 14.5px !important;
  }

  .credentials-box {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .cred-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .cred-val-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .cred-val {
    font-size: 12px !important;
    word-break: break-all !important;
    flex: 1 !important;
    text-align: center !important;
  }

  /* 10. Profile View (#tab-profile) */
  .profile-hero-card {
    border-radius: var(--radius-lg) !important;
  }

  .profile-hero-banner {
    height: 90px !important;
  }

  .profile-hero-body {
    padding: 0 14px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .profile-user-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .profile-avatar-large {
    width: 64px !important;
    height: 64px !important;
    margin-top: -32px !important;
    font-size: 24px !important;
  }

  .profile-username-title {
    font-size: 20px !important;
  }

  .profile-meta-row {
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 12px !important;
  }

  .profile-hero-actions {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .profile-hero-actions button {
    width: 100% !important;
    padding: 11px !important;
    font-size: 13px !important;
    justify-content: center !important;
  }

  .profile-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .profile-stat-card {
    padding: 16px 14px !important;
  }

  .profile-settings-card {
    padding: 18px 14px !important;
  }

  /* 11. Footer */
  footer {
    padding: 28px 16px calc(env(safe-area-inset-bottom, 0px) + 85px) !important;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
}

/* ── Narrow Mobile Devices (<= 360px) ── */
@media (max-width: 360px) {
  .games-grid {
    grid-template-columns: 1fr !important;
  }

  .key-packages-grid {
    grid-template-columns: 1fr !important;
  }

  .flash-grid {
    grid-template-columns: 1fr !important;
  }

  .preset-amount-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Game Detail E-Commerce Bottom Bar & Overrides ── */
body.on-game-detail .mobile-bottom-nav {
  display: none !important;
}

#tab-game-detail {
  padding-bottom: 96px;
}

.detail-floating-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.55);
  padding: 12px 20px;
  animation: slideUpBar 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .detail-floating-sticky-bar {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
}

.sticky-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.sticky-bar-thumb {
  width: 60px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sticky-bar-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sticky-bar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.sticky-bar-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sticky-bar-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #ff9800;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.sticky-bar-sub {
  font-size: 11.5px;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sticky-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sticky-bar-buy-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45) !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.sticky-bar-buy-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.6) !important;
}

.sticky-bar-buy-btn:active {
  transform: translateY(0) !important;
}

@keyframes slideUpBar {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .detail-floating-sticky-bar {
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .sticky-bar-thumb {
    width: 48px;
    height: 36px;
  }

  .sticky-bar-title {
    font-size: 13.5px;
    max-width: 150px;
  }

  .sticky-bar-sub {
    display: none;
  }

  .sticky-bar-buy-btn {
    padding: 10px 18px !important;
    font-size: 14px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════
   OyunPasaj — Sistem Yönetim Kokpiti & Çift Lisans Paneli Stilleri
   ═════════════════════════════════════════════════════════════════ */

.pool-cockpit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .pool-cockpit-grid {
    grid-template-columns: 1fr;
  }
}

.pool-card {
  background: rgba(18, 28, 54, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), border-color 0.25s ease;
}

.pool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.pool-card.primary-pool {
  border-color: rgba(129, 140, 248, 0.45);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.24) 0%, rgba(30, 41, 82, 0.9) 60%, rgba(20, 28, 58, 0.98) 100%);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pool-card.primary-pool:hover {
  border-color: rgba(129, 140, 248, 0.8);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.32), 0 0 35px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pool-card.backup-pool {
  border-color: rgba(34, 211, 238, 0.45);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.24) 0%, rgba(18, 52, 86, 0.9) 60%, rgba(14, 34, 60, 0.98) 100%);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pool-card.backup-pool:hover {
  border-color: rgba(34, 211, 238, 0.8);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.32), 0 0 35px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pool-card.engine-card {
  border-color: rgba(192, 132, 252, 0.45);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.24) 0%, rgba(52, 28, 92, 0.9) 60%, rgba(28, 18, 58, 0.98) 100%);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pool-card.engine-card:hover {
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.32), 0 0 35px rgba(168, 85, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pool-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pool-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-title);
  letter-spacing: 0.3px;
}

.pool-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-pulse-green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.badge-pulse-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-pulse-purple {
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(216, 180, 254, 0.4);
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.pool-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.pool-stat-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pool-stat-box:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.pool-stat-lbl {
  font-size: 11.5px;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pool-stat-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--c-title);
  line-height: 1.1;
}

.pool-stat-val.accent-green {
  color: #10b981;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.pool-stat-val.accent-cyan {
  color: #06b6d4;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.pool-stat-val.accent-purple {
  color: #c084fc;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.pool-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.guard-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.guard-status-badge.healthy {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.guard-status-badge.exhausted {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: pulseBorderRed 2s infinite;
}

@keyframes pulseBorderRed {
  0% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.35); }
  100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
}

.account-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.account-tag-badge.acc-primary {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.account-tag-badge.acc-secondary {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.cockpit-sub-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 12px;
}

/* ═════════════════════════════════════════════════════════════════
   Sistem Paneli — Yeni Nesil Yönetim Kokpiti & Sekme Tasarımı
   ═════════════════════════════════════════════════════════════════ */

.admin-command-bar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.admin-command-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-brand) 0%, #38bdf8 50%, #c084fc 100%);
}

.admin-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--c-brand-light);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
  flex-shrink: 0;
}

.admin-main-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-title);
  font-family: var(--font-display);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.admin-subtitle {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: var(--c-text-muted);
}

.admin-hud-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-hud-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  user-select: none;
}

.admin-hud-item.clickable {
  cursor: pointer;
}

.admin-hud-item.clickable:hover {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
  transform: translateY(-1px);
}

.admin-hud-data {
  display: flex;
  flex-direction: column;
}

.admin-hud-lbl {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-text-muted);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.admin-hud-val {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--c-title);
  line-height: 1.2;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ─── Ultra-Sleek Segmented Dashboard Nav Tabs ─── */
.admin-dashboard-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.admin-nav-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-nav-item:hover {
  background: var(--c-surface-hover);
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.admin-nav-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, var(--c-surface) 100%);
  border-color: var(--c-brand-light);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.18), inset 0 0 0 1px rgba(99, 102, 241, 0.35);
}

.admin-nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-brand);
  border-radius: 0 3px 3px 0;
}

.admin-nav-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.22s ease;
}

.admin-nav-item.active .admin-nav-icon-wrap {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--c-brand-glow);
}

.admin-nav-counter-bubble {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  line-height: 1.2;
}

.admin-nav-counter-bubble.alert {
  background: #ef4444;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
  animation: pulseDot 1.8s infinite;
}

.admin-nav-text-wrap {
  min-width: 0;
  flex: 1;
}

.admin-nav-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--c-title);
  line-height: 1.2;
  transition: color 0.2s ease;
}

.admin-nav-item.active .admin-nav-title {
  color: var(--c-brand-light);
}

.admin-nav-subtitle {
  display: block;
  font-size: 11.5px;
  color: var(--c-text-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-inner-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-inner-heading h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--c-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-title);
}

/* Header Admin Quick Nav Tab */
.nav-tab.admin-shortcut-tab {
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
  color: var(--c-brand-light);
}

.nav-tab.admin-shortcut-tab:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: var(--c-brand-light);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.35);
}

@media (max-width: 1024px) {
  .admin-dashboard-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-command-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-hud-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .admin-dashboard-nav {
    grid-template-columns: 1fr;
  }
}

/* ════════ SUPPORT & TICKET SYSTEM STYLES ════════ */

.support-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 16px;
}

.support-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.support-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--c-brand-light);
  flex-shrink: 0;
}

.support-policy-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.support-policy-banner .spb-icon {
  font-size: 22px;
  color: var(--c-neon-orange);
  flex-shrink: 0;
}

.support-policy-banner strong {
  color: var(--c-title);
}

/* Ticket Cards */
.user-tickets-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ticket-card:hover {
  border-color: var(--c-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ticket-card-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 260px;
}

.ticket-card-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-title);
  margin: 0;
}

.ticket-card-snippet {
  font-size: 12.5px;
  color: var(--c-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 550px;
}

.ticket-card-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Badges */
.ticket-id-badge {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-text-muted);
  letter-spacing: 0.5px;
}

[data-theme="light"] .ticket-id-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.tkt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.tkt-status-badge.open {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tkt-status-badge.answered {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tkt-status-badge.closed {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.tkt-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.tkt-cat-badge.cat-swap {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tkt-cat-badge.cat-guard {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.tkt-cat-badge.cat-payment {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.tkt-cat-badge.cat-general {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

/* ─── Formal Ticket Thread System (Turn-Based & Structured Updates) ─── */

.ticket-turn-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.ticket-turn-banner.waiting-staff {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--c-title);
}

.ticket-turn-banner.waiting-staff .turn-icon {
  font-size: 24px;
  color: var(--c-neon-orange);
  flex-shrink: 0;
}

.ticket-turn-banner.staff-replied {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--c-title);
}

.ticket-turn-banner.staff-replied .turn-icon {
  font-size: 24px;
  color: var(--c-neon-cyan);
  flex-shrink: 0;
}

.ticket-turn-banner.closed {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--c-text-muted);
}

.ticket-turn-banner.closed .turn-icon {
  font-size: 24px;
  color: #94a3b8;
  flex-shrink: 0;
}

.ticket-turn-title {
  font-weight: 800;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.ticket-turn-desc {
  font-size: 12px;
  color: var(--c-text-muted);
  margin: 0;
}

/* Formal Ticket Update Cards (No chat bubbles) */
.ticket-timeline-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--c-bg);
  overflow-y: auto;
}

.ticket-update-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.ticket-update-card.customer-entry {
  border-left: 4px solid #64748b;
}

.ticket-update-card.staff-entry {
  border-left: 4px solid var(--c-brand);
  background: rgba(99, 102, 241, 0.03);
}

.ticket-update-card.system-entry {
  border-left: 4px solid var(--c-neon-green);
  background: rgba(16, 185, 129, 0.03);
}

.ticket-card-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-author-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ticket-author-avatar.customer {
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  border: 1px solid var(--c-border);
}

.ticket-author-avatar.staff {
  background: linear-gradient(135deg, var(--c-brand), #4f46e5);
  color: #ffffff;
}

.ticket-author-avatar.system {
  background: rgba(16, 185, 129, 0.15);
  color: var(--c-neon-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ticket-author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-title);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-role-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ticket-role-pill.customer {
  background: rgba(255, 255, 255, 0.07);
  color: var(--c-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ticket-role-pill.staff {
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.ticket-role-pill.system {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.ticket-entry-time {
  font-size: 11.5px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ticket-entry-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-text);
  white-space: pre-line;
  word-break: break-word;
}

/* Reply Box Lock Overlay & States */
.reply-lock-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reply-lock-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reply-lock-icon {
  font-size: 20px;
  color: var(--c-neon-orange);
}

.reply-lock-text strong {
  display: block;
  font-size: 13px;
  color: var(--c-title);
  margin-bottom: 2px;
}

.reply-lock-text span {
  font-size: 12px;
  color: var(--c-text-muted);
}

.canned-btn {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--c-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.canned-btn:hover {
  background: var(--c-surface);
  color: var(--c-title);
  border-color: var(--c-brand);
}

/* ─── Dedicated In-Page Ticket Desk Views (No more popup modals!) ─── */
.ticket-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.ticket-view-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-main-head-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.ticket-timeline-thread.in-page-thread {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ═════════════════════════════════════════════════════════════════
   YASAL BİLGİLER & SÖZLEŞMELER MODAL VE FORUM STİLLERİ
   ═════════════════════════════════════════════════════════════════ */
.modal-legal-card {
  max-width: 860px !important;
  width: 95% !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
}

.modal-legal-card .modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.legal-nav-tabs {
  display: flex;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
  padding: 8px 16px 0;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}

.legal-nav-tabs::-webkit-scrollbar {
  display: none;
}

.legal-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--c-text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s var(--ease-smooth);
}

.legal-tab-btn:hover {
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.03);
}

.legal-tab-btn.active {
  color: var(--c-brand-light);
  border-bottom-color: var(--c-brand);
}

.legal-content-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  font-size: 13.5px;
  line-height: 1.75;
  color: #cbd5e1;
}

.legal-pane {
  display: none;
}

.legal-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--c-brand-light);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.legal-pane h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.legal-meta-date {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.legal-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.55;
}

.legal-alert-box.info {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd;
}
.legal-alert-box.info i {
  color: #38bdf8;
  font-size: 16px;
  margin-top: 2px;
}

.legal-alert-box.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fef08a;
}
.legal-alert-box.warning i {
  color: #f59e0b;
  font-size: 16px;
  margin-top: 2px;
}

.legal-alert-box.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
}
.legal-alert-box.success i {
  color: #10b981;
  font-size: 16px;
  margin-top: 2px;
}

.legal-section {
  margin-bottom: 20px;
}

.legal-section h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 8px;
}

.legal-section p {
  margin: 0 0 10px;
  color: #cbd5e1;
}

.legal-section ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.legal-section li {
  margin-bottom: 6px;
  color: #cbd5e1;
}

.legal-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--c-surface-2);
  flex-shrink: 0;
}

.legal-footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--c-text-muted);
}

/* Register Terms Checkbox Styles */
.form-terms-wrap {
  margin: 14px 0 16px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-text-muted);
}

.terms-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--c-brand);
  cursor: pointer;
  flex-shrink: 0;
}

.terms-text a {
  color: var(--c-brand-light);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}

.terms-text a:hover {
  color: #ffffff;
}

/* Light Theme Styling for Legal Modal & Checkbox */
[data-theme="light"] .legal-content-body {
  color: #334155;
}

[data-theme="light"] .legal-pane h2 {
  color: #0f172a;
}

[data-theme="light"] .legal-section h4 {
  color: #1e293b;
}

[data-theme="light"] .legal-section p,
[data-theme="light"] .legal-section li {
  color: #475569;
}

[data-theme="light"] .legal-alert-box.info {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0369a1;
}

[data-theme="light"] .legal-alert-box.warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

[data-theme="light"] .legal-alert-box.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

[data-theme="light"] .terms-text a {
  color: var(--c-brand);
}

[data-theme="light"] .terms-text a:hover {
  color: var(--c-brand-dark);
}

/* ═════════════════════════════════════════════════════════════════
   Promosyon & Kupon Kodu Sistemi Stilleri
   ═════════════════════════════════════════════════════════════════ */

.profile-coupon-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 24px;
}

[data-theme="light"] .profile-coupon-card,
[data-theme="light"] #profile-coupon-section {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(99, 102, 241, 0.04)) !important;
  border-color: rgba(168, 85, 247, 0.3) !important;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.06) !important;
}

[data-theme="light"] .profile-stat-card.stat-keys {
  background: linear-gradient(155deg, rgba(249, 115, 22, 0.06) 0%, #ffffff 65%) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
}

.profile-coupon-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ═════════════════════════════════════════════════════════════════
   Özel CSS Onay & Diyalog Modalı (Browser confirm/alert YERİNE)
   ═════════════════════════════════════════════════════════════════ */

@keyframes confirmPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ─── Ultra-Sleek Modern Custom Confirm Modal (Landscape Desktop Layout) ─── */
/* ─── Ultra-Sleek Modern Custom Confirm Modal (Zero Vertical Overflow - Fits Every Screen) ─── */
.custom-confirm-card {
  width: 94%;
  max-width: 520px;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  background: #111625;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(99, 102, 241, 0.15);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  animation: confirmPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  margin: auto !important;
  box-sizing: border-box;
}

.confirm-card-inner {
  padding: 16px 20px 14px;
  display: flex;
  flex-direction: column;
}

/* Header: Left icon, middle title + subtitle, right close button */
.confirm-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.confirm-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.confirm-icon-wrap.type-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--c-neon-orange);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.confirm-icon-wrap.type-key,
.confirm-icon-wrap.type-purchase {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(234, 88, 12, 0.15));
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
}

.confirm-icon-wrap.type-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--c-neon-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.2);
}

.confirm-icon-wrap.type-info {
  background: rgba(99, 102, 241, 0.15);
  color: var(--c-brand-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.2);
}

.confirm-icon-wrap.type-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--c-neon-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.confirm-modal-heading {
  flex: 1;
  text-align: left;
}

.confirm-modal-heading h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.confirm-modal-subtitle {
  font-size: 11.5px;
  color: var(--c-text-muted);
  font-weight: 500;
  display: block;
  line-height: 1.2;
}

.confirm-modal-close {
  background: transparent;
  border: none;
  color: var(--c-text-muted);
  font-size: 15px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Modal Body */
.confirm-modal-body {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
  text-align: left;
  margin: 0 0 12px;
}

/* ─── Premium Unified Checkout Summary Panel ─── */
.confirm-checkout-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 6px 0 10px;
  box-sizing: border-box;
  text-align: left;
}

.confirm-checkout-panel.panel-warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(255, 255, 255, 0.02));
}

.confirm-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.confirm-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.confirm-item-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(234, 88, 12, 0.12));
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: var(--c-neon-orange);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.confirm-item-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--c-neon-orange);
}

.confirm-item-details {
  min-width: 0;
  text-align: left;
}

.confirm-item-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-title);
  margin: 0 0 2px;
  line-height: 1.25;
}

.confirm-item-sub {
  font-size: 12px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.confirm-item-sub i {
  color: var(--c-neon-green);
  font-size: 11px;
}

.confirm-item-pricing {
  text-align: right;
  flex-shrink: 0;
}

.confirm-price-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-text-muted);
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.confirm-price-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-neon-orange);
  line-height: 1.1;
  font-family: var(--font-display);
}

.confirm-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

.confirm-wallet-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 8px 14px;
}

.confirm-wallet-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.confirm-wallet-step .step-label {
  color: var(--c-text-muted);
  font-weight: 600;
}

.confirm-wallet-step .step-val {
  color: var(--c-title);
  font-weight: 800;
  font-size: 13.5px;
}

.confirm-wallet-step.highlight-green .step-val {
  color: var(--c-neon-green);
}

.confirm-wallet-step.highlight-orange .step-val {
  color: var(--c-neon-orange);
}

.confirm-wallet-arrow {
  color: var(--c-text-dim);
  font-size: 12px;
}

.confirm-trust-note {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a7f3d0;
  margin-top: 8px;
  line-height: 1.4;
  text-align: left;
}

.confirm-trust-note i {
  color: var(--c-neon-green);
  font-size: 14px;
  flex-shrink: 0;
}

.confirm-trust-note.note-warn {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

.confirm-trust-note.note-warn i {
  color: var(--c-neon-orange);
}

/* Backward compatibility for generic confirmations */
.confirm-breakdown-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 6px 0 8px;
  text-align: left;
}

.confirm-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--c-text-muted);
}

/* Modal Footer Actions: Compact horizontal buttons */
.confirm-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
}

.confirm-btn-cancel {
  min-width: 95px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.confirm-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.confirm-btn-ok {
  min-width: 140px;
  padding: 8px 18px;
  font-weight: 800;
  font-size: 12.5px;
  border-radius: 8px;
}

/* Light Theme Overrides */
[data-theme="light"] .custom-confirm-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .confirm-modal-header {
  border-bottom-color: #f1f5f9;
}

[data-theme="light"] .confirm-modal-heading h3 {
  color: #0f172a !important;
}

[data-theme="light"] .confirm-modal-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .confirm-checkout-panel {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .confirm-item-name {
  color: #0f172a !important;
}

[data-theme="light"] .confirm-item-sub {
  color: #64748b !important;
}

[data-theme="light"] .confirm-panel-divider {
  background: #e2e8f0 !important;
}

[data-theme="light"] .confirm-wallet-flow {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .confirm-wallet-step .step-label {
  color: #64748b !important;
}

[data-theme="light"] .confirm-wallet-step .step-val {
  color: #0f172a !important;
}

[data-theme="light"] .confirm-wallet-step.highlight-green .step-val {
  color: #16a34a !important;
}

[data-theme="light"] .confirm-trust-note {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #166534 !important;
}

[data-theme="light"] .confirm-trust-note i {
  color: #16a34a !important;
}

[data-theme="light"] .confirm-trust-note.note-warn {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #92400e !important;
}

[data-theme="light"] .confirm-trust-note.note-warn i {
  color: #d97706 !important;
}

[data-theme="light"] .confirm-modal-footer {
  border-top-color: #f1f5f9;
}

[data-theme="light"] .confirm-btn-cancel {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .confirm-btn-cancel:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Mobile Responsive */
@media (max-width: 639px) {
  .custom-confirm-card {
    max-width: 400px;
    width: 94%;
  }
  .confirm-card-inner {
    padding: 14px 14px 12px;
  }
  .confirm-stats-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .confirm-modal-footer {
    flex-direction: column-reverse;
    gap: 6px;
  }
  .confirm-btn-cancel,
  .confirm-btn-ok {
    width: 100%;
    min-width: 100%;
    padding: 9px 12px;
  }
}

/* Widen modal-buy on desktop as well */
@media (min-width: 768px) {
  #modal-buy .modal-card,
  .modal-buy-card {
    max-width: 580px;
    width: 95%;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;
    margin: auto !important;
  }
}



