/* ==========================================================================
   KOKITOTO Brand Styling
   Designed for: playkokitoto.com
   Theme: Premium Cyber-Luxury Dark (Gold & Violet Accents, Glassmorphism)
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
  --bg-main: #070a12;
  --bg-card: rgba(16, 23, 41, 0.65);
  --bg-card-hover: rgba(22, 32, 57, 0.85);
  --border-glow: rgba(255, 255, 255, 0.08);
  --border-glow-hover: rgba(226, 184, 87, 0.3);
  
  /* Brand Accents */
  --accent-gold: #e2b857;
  --accent-gold-dark: #b8913c;
  --accent-gold-glow: rgba(226, 184, 87, 0.15);
  
  --accent-purple: #8b5cf6;
  --accent-purple-dark: #6d28d9;
  --accent-purple-glow: rgba(139, 92, 246, 0.15);
  
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.15);
  
  --accent-green: #10b981;
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Typography */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-gold: 0 0 20px rgba(226, 184, 87, 0.25);
  --shadow-purple: 0 0 20px rgba(139, 92, 246, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Glowing background ambient lights */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  top: 40%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- Cyber Ambient Animations --- */
.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(139, 92, 246, 0.035) 1px, transparent 1px),
              linear-gradient(90deg, rgba(139, 92, 246, 0.025) 1px, transparent 1px);
  background-size: 45px 45px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px);
  transform-origin: top;
  animation: gridRun 18s linear infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes gridRun {
  to {
    background-position: 0 90px, 90px 0;
  }
}

.cyber-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 5px);
  opacity: 0.5;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Ticker Marquee Banner --- */
.ticker-banner {
  background: #04060c;
  border-bottom: 1px solid rgba(226, 184, 87, 0.2);
  height: 2.25rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 101; /* Above header */
  position: relative;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  width: 100%;
}

.ticker-label {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
  text-transform: uppercase;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ticker-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.ticker-content marquee {
  vertical-align: middle;
}

.ticker-content span {
  margin-right: 2.5rem;
  display: inline-block;
}

/* --- Header & Navigation (Glassmorphic) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  background-color: rgba(7, 10, 18, 0.75);
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(7, 10, 18, 0.9);
  padding: 0.5rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo-link {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(226, 184, 87, 0.1);
}

.logo-dot {
  color: var(--accent-gold);
  -webkit-text-fill-color: var(--accent-gold);
  display: inline-block;
  animation: pulse 2s infinite;
}

.logo-img {
  max-height: 2.2rem;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(226, 184, 87, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-dark) 100%);
  color: var(--text-primary);
  box-shadow: var(--shadow-purple);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-purple) 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

/* --- Hero Section --- */
.hero-section {
  padding: 6rem 0 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(7, 10, 18, 0.75) 0%, rgba(7, 10, 18, 0.45) 60%, var(--bg-main) 100%), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: -3;
  pointer-events: none;
  opacity: 0.35;
  filter: brightness(0.25) blur(5px);
  transform: scale(1.05);
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(226, 184, 87, 0.08);
  border: 1px solid rgba(226, 184, 87, 0.2);
  border-radius: 50px;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  background: linear-gradient(135deg, #fff3a8 0%, #ffd700 45%, #e29b12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important; /* Fix browser transparent text-clip shadow bleed bug */
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 25px rgba(226, 155, 18, 0.35));
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 800px;
  margin: 0 0 3rem 0; /* Align left by default for grid layout */
  color: var(--text-secondary);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* 2-Column Desktop Hero Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-badge-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero-content .stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

/* --- Cyber Mecha HUD Banner Stage --- */
.mecha-stage {
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.mecha-stage::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 65%);
  filter: blur(25px);
  animation: mechaAura 4s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes mechaAura {
  0% {
    transform: scale(0.9) translate3d(0, 0, 0);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.1) translate3d(0, 5px, 0);
    opacity: 1;
  }
}

.mecha-card {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1/1;
  transform-style: preserve-3d;
  animation: floatMecha 5s ease-in-out infinite, borderGlow 4s ease-in-out infinite alternate;
  border: 1px solid rgba(226, 184, 87, 0.25);
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glass);
  padding: 1.25rem;
  overflow: hidden;
  box-sizing: border-box;
}

@keyframes floatMecha {
  0%, 100% {
    transform: translateY(0) rotateX(1deg) rotateY(1deg);
  }
  50% {
    transform: translateY(-12px) rotateX(-1deg) rotateY(-1deg);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(226, 184, 87, 0.25);
    box-shadow: 0 0 15px rgba(226, 184, 87, 0.2), var(--shadow-glass);
  }
  50% {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.3), var(--shadow-glass);
  }
}

.mecha-banner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #090c15;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mecha-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mecha-hud {
  position: absolute;
  inset: 0.85rem;
  border: 2px double rgba(139, 92, 246, 0.3);
  border-radius: 14px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

.mecha-hud::before {
  content: '';
  position: absolute;
  top: -2px; left: 10%; right: 10%; height: 2px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.mecha-hud::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 10%; right: 10%; height: 2px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.mecha-core {
  position: absolute;
  top: 12%;
  right: 12%;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px dashed rgba(226, 184, 87, 0.35);
  border-radius: 50%;
  animation: spinCore 15s linear infinite;
  opacity: 0.55;
  pointer-events: none;
  z-index: 3;
}

@keyframes spinCore {
  to {
    transform: rotate(360deg);
  }
}

.mecha-scan {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-cyan), var(--accent-purple), transparent);
  box-shadow: 0 0 12px var(--accent-purple);
  animation: mechaScan 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
}

@keyframes mechaScan {
  0% {
    top: 5%;
    opacity: 0.2;
  }
  50% {
    top: 95%;
    opacity: 0.95;
  }
  100% {
    top: 5%;
    opacity: 0.2;
  }
}

.mecha-label {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 10, 18, 0.85);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 0 10px rgba(226, 184, 87, 0.2);
  color: var(--accent-gold);
  padding: 0.35rem 1.25rem;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


/* Brand Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gold);
}

.stat-card:nth-child(2)::before {
  background: var(--accent-purple);
}

.stat-card:nth-child(3)::before {
  background: var(--accent-cyan);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.stat-card:nth-child(1) .stat-value {
  color: var(--accent-gold);
}
.stat-card:nth-child(2) .stat-value {
  color: var(--accent-purple);
}
.stat-card:nth-child(3) .stat-value {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* --- Section Heading Utilities --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  color: var(--accent-purple);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* --- Interactive Games Section --- */
.games-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.tabs-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.category-card-tab {
  position: relative;
  background: transparent;
  border: none;
  width: 100%;
  height: 220px;
  cursor: pointer;
  outline: none;
  padding: 0;
  display: block;
}

.category-card-tab .container-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e7e7e7;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 2px 2px 2px #ffffff;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1), opacity .4s;
  transition-delay: .5s, 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.category-card-tab:hover .container-image,
.category-card-tab.active .container-image {
  opacity: 0;
  border-radius: 16px;
  transform: translate(-50%, -50%) scale(0.9);
  transition-delay: 0s, .5s;
}

.category-card-tab .container-image .image-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all .3s ease-in-out;
  transition-delay: .4s;
  width: 100%;
}

.category-card-tab .container-image .image-circle svg {
  width: 3.75rem;
  height: 3.75rem;
  transition: all 0.3s ease;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.25));
}

.category-card-tab .container-image .image-circle span {
  display: none;
}

.category-card-tab:hover .container-image .image-circle,
.category-card-tab.active .container-image .image-circle {
  opacity: 0;
  transition-delay: 0s;
}

/* Expanded Card Content style */
.category-card-tab .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e7e7e7;
  padding: 1.25rem;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 2px 2px 2px #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
  z-index: 1;
  overflow: hidden;
  text-align: left;
}

.category-card-tab:hover .content,
.category-card-tab.active .content {
  width: 100%;
  height: 180px;
  visibility: visible;
  opacity: 1;
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.25), inset 2px 2px 2px #ffffff;
  transition-delay: .4s;
  z-index: 3;
}

/* Detail container (title & description) */
.category-card-tab .content .detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
  height: 100%;
  opacity: 0;
  transform: translateX(-15px);
  transition: all .3s ease-in-out;
  transition-delay: 0s;
}

.category-card-tab:hover .content .detail,
.category-card-tab.active .content .detail {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .5s;
}

.category-card-tab .content .detail .cat-title {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 0.35rem;
  display: block;
}

.category-card-tab .content .detail .cat-desc {
  font-size: 0.775rem;
  line-height: 1.35;
  color: #333333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Image Illustration wrapper */
.category-card-tab .content .product-image {
  position: relative;
  width: 38%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card-tab .content .product-image .box-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(.5) rotate(-10deg);
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0s;
}

.category-card-tab:hover .content .product-image .box-image,
.category-card-tab.active .content .product-image .box-image {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: .5s;
}

.category-card-tab .content .product-image .box-image .img-product {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card-tab .content .product-image .box-image .img-product svg {
  width: 5.25rem;
  height: 5.25rem;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.25));
}

/* Instant display on page load for the active tab (no transition delay when not hovered) */
.category-card-tab.active .content {
  transition-delay: 0s;
}
.category-card-tab.active .container-image {
  transition-delay: 0s;
}
.category-card-tab.active .content .detail {
  transition-delay: 0s;
}
.category-card-tab.active .content .product-image .box-image {
  transition-delay: 0s;
}

/* Active indicator dot */
.category-card-tab.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple), 0 0 16px var(--accent-purple);
  z-index: 4;
}

/* Dynamic Active Category Show */
.game-active-display {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.5s ease-out;
}

.game-display-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  gap: 2rem;
  border-bottom: 1px solid var(--border-glow);
  padding-bottom: 2rem;
}

.game-display-info {
  max-width: 65%;
}

.game-display-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-display-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.game-providers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: right;
}

.providers-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.providers-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.provider-tag {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Games Grid within displays */
.games-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.game-display-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2.5rem;
}

.full-access-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(226, 184, 87, 0.2);
  border: 1px solid rgba(226, 184, 87, 0.25);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: rgba(226, 184, 87, 0.03);
  cursor: pointer;
}

.full-access-link:hover {
  color: #000;
  background: var(--accent-gold);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(226, 184, 87, 0.4);
  transform: translateY(-2px);
}

.game-item-card {
  background: rgba(7, 10, 18, 0.5);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.game-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow-hover);
  background: rgba(22, 32, 57, 0.4);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-gacor {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

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

.badge-utama {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-populer {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.game-item-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  padding-right: 3rem; /* Leave room for badge */
}

.game-item-provider {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.game-rtp-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.rtp-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: block;
}

.rtp-value-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rtp-percentage {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.rtp-progress-bg {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.rtp-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-purple) 100%);
  border-radius: 10px;
}

.game-item-cta {
  position: relative;
  width: 100%;
  height: 125px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--border-glow);
  background: linear-gradient(135deg, rgba(22, 32, 57, 0.35) 0%, rgba(11, 16, 29, 0.45) 100%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

.game-item-cta:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.game-item-cta .cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.game-item-cta:hover .cta-bg-img {
  transform: scale(1.05);
}

.game-item-cta .cta-placeholder-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.game-item-cta .cta-placeholder-logo svg {
  width: 3.5rem;
  height: 3.5rem;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  stroke-width: 1.5;
}

.game-item-cta:hover .cta-placeholder-logo svg {
  transform: scale(0.9);
  color: rgba(255, 255, 255, 0.05);
}

.game-item-cta .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.game-item-cta:hover .cta-overlay {
  opacity: 1;
}

.game-item-cta .cta-overlay span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.game-item-cta .cta-overlay svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-primary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.game-item-cta:hover .cta-overlay svg {
  transform: translateX(4px);
}

/* --- Features Section --- */
.features-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 23, 41, 0.4) 50%, transparent 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-glass);
}

.feature-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent-purple);
  color: var(--text-primary);
  box-shadow: var(--shadow-purple);
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- SEO & Content Section --- */
.seo-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.seo-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 3.5rem;
  position: relative;
}

.seo-text h2 {
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

.seo-text h2:first-child {
  margin-top: 0;
}

.seo-text h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: var(--accent-gold);
}

.seo-text p {
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
  text-align: justify;
}

.seo-text ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.seo-text li {
  margin-bottom: 0.5rem;
}

.seo-keyword-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  color: var(--text-primary);
  font-weight: 500;
}

/* --- FAQ Accordion Section --- */
.faq-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
  border-color: var(--accent-purple);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
}

.faq-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-purple);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 1rem;
}

/* --- Q&A Visual Badges for FAQ --- */
.faq-badge-q, .faq-badge-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-badge-q {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin-right: 0.75rem;
}

.faq-badge-a {
  background: rgba(226, 184, 87, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(226, 184, 87, 0.3);
  margin-right: 0.75rem;
  margin-top: 0.15rem;
}

/* Static QA Helper Classes */
.static-qa {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.static-qa-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.static-qa-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.static-qa-q, .static-qa-a {
  display: flex;
  align-items: flex-start;
}

.static-qa-q {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.static-qa-a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Footer Area --- */
.site-footer {
  margin-top: auto;
  background: rgba(4, 6, 12, 0.95);
  border-top: 1px solid var(--border-glow);
  padding: 5rem 0 7.5rem 0; /* Extra bottom padding for mobile sticky nav */
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-logo-img {
  max-height: 2.5rem;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 350px;
}

.footer-heading {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-purple);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

/* License Badges & Payments */
.payments-container, .licenses-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.payment-badge, .license-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glow);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.license-badge {
  border-color: rgba(226, 184, 87, 0.15);
  color: var(--accent-gold);
}

/* --- Footer SEO Internal Links --- */
.footer-seo-links {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-heading-seo {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.seo-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.seo-links-grid a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.seo-links-grid a:hover {
  color: var(--accent-gold);
  border-color: rgba(226, 184, 87, 0.25);
  background: rgba(226, 184, 87, 0.05);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
}

/* --- Mobile Bottom Sticky Bar --- */
.mobile-sticky-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glow);
  display: none; /* Block on mobile screens */
  z-index: 999;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 4.5rem;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-nav-item svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.2s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--accent-gold);
}

.mobile-nav-item:hover svg {
  transform: scale(1.1);
}

/* Special High-contrast items on bottom nav */
.mobile-nav-item.btn-nav-register {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 0 10px rgba(226, 184, 87, 0.3);
  animation: registerGlowPulse 2s infinite alternate;
}
.mobile-nav-item.btn-nav-register:hover {
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
}
.mobile-nav-item.btn-nav-register svg {
  color: var(--accent-gold);
}

.mobile-nav-item.btn-nav-login {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-nav-item.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}
.mobile-nav-item.btn-nav-login svg {
  color: var(--text-primary);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 1.25rem;
  }
  
  .nav-actions {
    gap: 0.5rem;
  }
  
  .logo-link {
    font-size: 1.55rem;
  }
  
  .nav-link {
    font-size: 0.875rem;
  }
  
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 992px) {
  body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
  
  .container {
    padding: 0 1.75rem;
  }
  
  /* Hide main nav links on mobile/tablets completely to prevent horizontal wrapping and overflow */
  .nav-menu {
    display: none !important;
  }
  
  .site-header {
    padding: 0.25rem 0;
  }
  
  .nav-wrapper {
    height: 3.5rem;
  }
  
  .logo-link {
    font-size: 1.4rem;
  }
  
  .nav-actions {
    gap: 0.5rem;
  }
  
  .nav-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Hero Section scaling & 2-column collapse */
  .hero-section {
    padding: 3.5rem 0 2rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-badge {
    align-self: flex-start;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-align: left;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 0 1.75rem 0;
    padding: 0;
    line-height: 1.5;
    text-align: left;
  }
  
  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem 0;
    justify-content: flex-start;
  }

  .hero-badges {
    margin-bottom: 2rem;
    gap: 0.5rem;
  }

  .hero-badge-item {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }
  
  .hero-actions .btn {
    flex: 1;
    max-width: 160px;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
  }
  
  .mecha-stage {
    margin-top: 1rem;
  }
  
  .mecha-card {
    width: min(500px, 100%);
    margin: 0 auto;
    border-radius: 16px;
    padding: 1rem;
  }
  
  .mecha-hud {
    inset: 0.65rem;
  }
  
  .mecha-label {
    bottom: 1rem;
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
  }
  
  /* Stats Row - Professional Flat Divider Bar */
  .stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 23, 41, 0.45);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 1.25rem 0.5rem;
    gap: 0.25rem;
    margin-top: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .stat-card {
    background: transparent;
    border: none;
    padding: 0;
    flex: 1;
    position: relative;
    text-align: center;
  }
  
  .stat-card::before {
    display: none;
  }
  
  .stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
  }
  
  .stat-label {
    font-size: 0.675rem;
    line-height: 1.2;
    letter-spacing: 0px;
  }
  
  .stat-icon {
    width: 1.1rem !important;
    height: 1.1rem !important;
  }
  
  /* Games Section Mobile Adaptations */
  .games-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .section-header {
    margin-bottom: 1.75rem;
  }
  
  .section-title {
    font-size: 1.45rem;
  }
  
  .section-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* 2x2 Grid tabs without horizontal scrolling */
  .tabs-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-x: visible;
  }
  
  .category-card-tab {
    height: 140px;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .category-card-tab .container-image {
    width: 110px;
    height: 110px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 2px 2px 2px #ffffff;
    background: #e7e7e7;
  }
  
  .category-card-tab.active .container-image {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.45), inset 2px 2px 2px #ffffff !important;
  }
  
  .category-card-tab:hover .container-image {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
  }
  
  .category-card-tab:hover .container-image,
  .category-card-tab.active .container-image {
    border-radius: 50% !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  .category-card-tab .container-image .image-circle {
    opacity: 1 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
  }
  
  .category-card-tab .container-image .image-circle svg {
    width: 2.75rem;
    height: 2.75rem;
    transition: all 0.3s ease;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.25));
  }
  
  .category-card-tab.active .container-image .image-circle svg {
    width: 1.75rem;
    height: 1.75rem;
    filter: drop-shadow(0 0 8px var(--accent-purple)) !important;
    opacity: 1 !important;
  }
  
  .category-card-tab .container-image .image-circle span {
    display: none;
  }
  
  .category-card-tab.active .container-image .image-circle span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-top: 0.25rem;
  }
  
  /* Hide expanded content on mobile since we keep them circular */
  .category-card-tab .content {
    display: none !important;
  }
  
  .category-card-tab.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple), 0 0 16px var(--accent-purple);
    z-index: 4;
  }
  
  /* Active Game Category view spacing */
  .game-active-display {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .game-display-header {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  
  .game-display-title {
    font-size: 1.3rem;
  }
  
  .game-display-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .game-providers-list {
    text-align: left;
    align-items: flex-start;
    width: 100%;
  }
  
  .providers-tags {
    justify-content: flex-start;
    gap: 0.35rem;
  }
  
  .provider-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }
  
  /* 2-Column Professional Game Cards Grid */
  .games-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  
  .game-item-card {
    padding: 1rem 0.65rem;
    border-radius: 12px;
  }
  
  .game-badge {
    top: 0.45rem;
    right: 0.45rem;
    font-size: 0.55rem;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
  }
  
  .game-item-name {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    padding-right: 1.5rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.4em;
    line-height: 1.2;
    font-weight: 700;
  }
  
  .game-item-provider {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }
  
  .game-rtp-box {
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
  }
  
  .rtp-label {
    font-size: 0.55rem;
    margin-bottom: 0.15rem;
  }
  
  .rtp-percentage {
    font-size: 0.8rem;
  }
  
  .rtp-progress-bg {
    height: 4px;
  }
  
  .game-item-cta {
    height: 85px;
    border-radius: 8px;
    padding: 0;
  }
  
  .game-item-cta .cta-placeholder-logo svg {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .game-item-cta .cta-overlay span {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
  
  .game-item-cta .cta-overlay svg {
    width: 0.95rem;
    height: 0.95rem;
  }
  
  .game-display-footer {
    margin-top: 1.5rem;
    justify-content: center;
    width: 100%;
  }

  .full-access-link {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    letter-spacing: 1px;
    width: 100%;
    justify-content: center;
  }
  
  /* Features section */
  .features-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .feature-icon-wrapper {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
  }
  
  .feature-title {
    font-size: 1.15rem;
  }
  
  .feature-desc {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* SEO Section Typography Scale */
  .seo-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .seo-content-card {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .seo-text h2 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
  }
  
  .seo-text h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
  }
  
  .seo-text p {
    font-size: 0.825rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
    text-align: left;
  }
  
  .seo-text ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
  }
  
  .seo-text li {
    font-size: 0.825rem;
    margin-bottom: 0.35rem;
  }
  
  /* FAQ Section */
  .faq-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .faq-wrapper {
    gap: 0.65rem;
  }
  
  .faq-header {
    padding: 1.15rem 1rem;
    font-size: 0.9rem;
  }
  
  .faq-content {
    padding: 0 1rem 1.15rem 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  /* Footer */
  .site-footer {
    padding: 2.5rem 0 calc(6.5rem + env(safe-area-inset-bottom)) 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-grid > div:last-child {
    grid-column: span 2;
  }
  
  .footer-brand h4 {
    font-size: 1.45rem;
  }
  
  .footer-heading {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
  }
  
  .footer-links {
    gap: 0.65rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 1.5rem;
    font-size: 0.75rem;
  }
  
  /* Mobile Sticky Bottom Nav & Safe Area correction */
  .mobile-sticky-nav {
    display: block;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 480px;
    height: 4.25rem;
    background: rgba(7, 10, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 184, 87, 0.2);
    border-radius: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 15px rgba(139, 92, 246, 0.15);
    z-index: 9999;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    height: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }
  
  .mobile-nav-item {
    font-size: 0.65rem;
    gap: 0.2rem;
    height: 100%;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    padding-bottom: 0;
  }
  
  .mobile-nav-item svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
  }

  .mobile-nav-item.btn-nav-login {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--text-primary) !important;
    border-radius: 30px;
    margin: 0.5rem 0.25rem;
    height: calc(100% - 1rem);
    flex-direction: row;
    gap: 0.3rem;
    padding: 0 0.6rem;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
  .mobile-nav-item.btn-nav-login svg {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--text-primary) !important;
  }
  .mobile-nav-item.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: var(--text-primary) !important;
  }
  .mobile-nav-item.btn-nav-login:hover svg {
    color: var(--text-primary) !important;
  }

  .mobile-nav-item.btn-nav-register {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--accent-gold) !important;
    border-radius: 30px;
    margin: 0.5rem 0.25rem;
    height: calc(100% - 1rem);
    flex-direction: row;
    gap: 0.3rem;
    padding: 0 0.6rem;
    border: 1px solid rgba(226, 184, 87, 0.45) !important;
    box-shadow: 0 0 8px rgba(226, 184, 87, 0.2) !important;
    animation: registerGlowPulse 2s infinite alternate !important;
  }
  .mobile-nav-item.btn-nav-register svg {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--accent-gold) !important;
  }
  .mobile-nav-item.btn-nav-register:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(226, 184, 87, 0.8) !important;
    color: var(--accent-gold) !important;
  }
  .mobile-nav-item.btn-nav-register:hover svg {
    color: var(--accent-gold) !important;
  }
}

/* --- Core Keyframe Animations --- */
@keyframes registerGlowPulse {
  0% {
    border-color: rgba(226, 184, 87, 0.4) !important;
    box-shadow: 0 0 4px rgba(226, 184, 87, 0.15), inset 0 0 2px rgba(226, 184, 87, 0.1) !important;
  }
  100% {
    border-color: rgba(226, 184, 87, 1) !important;
    box-shadow: 0 0 12px rgba(226, 184, 87, 0.5), inset 0 0 4px rgba(226, 184, 87, 0.25) !important;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

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

/* --- Safety overrides for small mobile screens --- */
@media (max-width: 480px) {
  .logo-link {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  
  .nav-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
  }
  
  .nav-wrapper {
    height: 3.25rem;
  }
  
  .ticker-banner {
    height: 2rem;
  }
  
  .ticker-label {
    font-size: 0.625rem;
    padding: 0.15rem 0.5rem;
  }
  
  .ticker-content {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Phishing Warning Modal (Curtain Animation)
   ========================================================================== */
.warning-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.warning-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.warning-modal .curtain-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to bottom, #04060c 0%, #0c0f1d 100%);
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.warning-modal .curtain-left {
  left: 0;
  border-right: 2px solid var(--accent-gold);
  transform: translateX(0);
}

.warning-modal .curtain-right {
  right: 0;
  border-left: 2px solid var(--accent-gold);
  transform: translateX(0);
}

.warning-modal.active .curtain-left {
  transform: translateX(-100%);
}

.warning-modal.active .curtain-right {
  transform: translateX(100%);
}

.warning-card {
  position: relative;
  width: min(520px, 90%);
  background-color: #0b0c10;
  border: 2px solid var(--accent-gold);
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(226, 184, 87, 0.25), inset 0 0 15px rgba(226, 184, 87, 0.15);
  padding: 1.5rem;
  z-index: 1;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.2s;
  text-align: center;
  overflow: hidden;
}

.warning-modal.active .warning-card {
  opacity: 1;
  transform: scale(1);
}

.warning-card-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  line-height: 1;
  padding-bottom: 3px;
}

.warning-card-close:hover {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(226, 184, 87, 0.5);
}

.warning-banner-container {
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  margin-top: -1.5rem;
  height: auto;
  overflow: hidden;
  border-bottom: 2px solid var(--accent-gold);
}

.warning-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.warning-title {
  color: var(--accent-gold);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 1.5rem 0 1rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(226, 184, 87, 0.35);
}

.warning-description {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  padding: 0 0.5rem;
}

.warning-cta-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #000000;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(226, 184, 87, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.warning-cta-btn:hover {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  box-shadow: 0 6px 20px rgba(226, 184, 87, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .warning-card {
    padding: 1.25rem;
    border-radius: 20px;
  }
  .warning-banner-container {
    height: auto;
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-top: -1.25rem;
  }
  .warning-title {
    font-size: 1.3rem;
    margin: 1.25rem 0 0.75rem 0;
  }
  .warning-description {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  .warning-cta-btn {
    padding: 0.85rem;
    font-size: 0.95rem;
  }
}
