/* ======================================================
   GHOST GAMING — MAIN STYLESHEET
   Dark iGaming Studio — Yellow/Black Brand Theme
====================================================== */

/* ---------- Custom Font ---------- */
@font-face {
  font-family: 'GhostFont';
  src: url('ghostfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- GhostFont — always uppercase ---------- */
.section-title,
.hero-title,
.game-card-title,
.feat-card h4,
.acard-value,
.stat-num,
.marquee-inner span,
.footer-links-group h5,
.logo,
.ghost-font {
  text-transform: uppercase;
}

/* ---------- CSS Variables ---------- */
:root {
  --bg-0: #080808;
  --bg-1: #0f0f0f;
  --bg-2: #141414;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,207,0,0.05);

  --yellow:       #ffcf00;
  --yellow-light: #ffe44d;
  --yellow-dark:  #c9a400;
  --yellow-glow:  rgba(255,207,0,0.35);
  --amber:        #ff9f00;

  --text-primary:   #f5f5f5;
  --text-secondary: #9ca3af;
  --text-muted:     #4b5563;

  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,207,0,0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
}

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

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Custom Cursor ---------- */
.cursor,
.cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 8px; height: 8px;
  background: var(--yellow);
}
.cursor-follower {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,207,0,0.4);
  transition: transform 0.15s ease, width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-follower.active {
  width: 48px; height: 48px;
  border-color: var(--yellow);
  background: rgba(255,207,0,0.06);
}

@media (hover: none) { .cursor, .cursor-follower { display: none; } }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--yellow-dark); border-radius: 2px; }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography Utilities ---------- */
.ghost-font {
  font-family: 'GhostFont', 'Outfit', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: normal;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: #080808;
  box-shadow: 0 4px 28px rgba(255,207,0,0.3);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,207,0,0.5);
  background: var(--yellow-light);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,207,0,0.06);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ====================================================
   NAVIGATION
==================================================== */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: var(--transition);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

.nav-wrapper.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,207,0,0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo badge */
.logo-badge {
  display: inline-block;
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #080808;
  background: var(--yellow);
  padding: 12px 20px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.logo-badge:hover {
  background: var(--yellow-light);
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--yellow) !important;
  color: #080808 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
}
.nav-cta:hover {
  background: var(--yellow-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,207,0,0.35);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-appearance: none;
}
.burger span {
  display: block;
  width: 32px;
  height: 6px;
  background: #ffffff;
  border-radius: 6px;
  transition: var(--transition);
  flex-shrink: 0;
}
.burger.open span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }

/* ====================================================
   HERO
==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Grid — faint yellow lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,207,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,207,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* Orbs — yellow/amber */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; }
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #ffcf00 0%, transparent 70%);
  top: -220px; left: -180px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  top: 100px; right: -200px;
  animation: orbFloat 10s ease-in-out infinite reverse;
  opacity: 0.2;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ffcf00 0%, transparent 70%);
  bottom: -100px; left: 35%;
  animation: orbFloat 12s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(20px, -30px) scale(1.05); }
  66%  { transform: translate(-15px, 20px) scale(0.95); }
}

.particles { position: absolute; inset: 0; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid rgba(255,207,0,0.3);
  background: rgba(255,207,0,0.08);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--yellow); }
  50%  { opacity: 0.5; box-shadow: 0 0 20px var(--yellow), 0 0 40px rgba(255,207,0,0.4); }
}

.hero-title {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: normal;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  border: 1px solid rgba(255,207,0,0.12);
  background: rgba(255,207,0,0.03);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
}

.stat-item { text-align: center; padding: 0 32px; }

.stat-num {
  display: block;
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--yellow);
  line-height: 1;
}
.stat-plus {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--yellow);
  vertical-align: super;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}
.stat-divider { width: 1px; height: 48px; background: rgba(255,207,0,0.12); flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ====================================================
   GAMES SECTION
==================================================== */
.games-section {
  padding: 100px 0;
  position: relative;
}
.games-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,207,0,0.2), transparent);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.game-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.game-card:hover {
  border-color: rgba(255,207,0,0.25);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
}

.game-card-featured {
  border-color: rgba(255,207,0,0.2);
  background: rgba(255,207,0,0.03);
}
.game-card-featured:hover {
  border-color: rgba(255,207,0,0.4);
  transform: translateY(-8px);
}

/* Top glow lines */
.game-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
}
.glow-yellow { background: linear-gradient(90deg, transparent, var(--yellow), transparent); }
.glow-amber  { background: linear-gradient(90deg, transparent, var(--amber),  transparent); }
.glow-warm   { background: linear-gradient(90deg, transparent, #ffe44d, transparent); }

.featured-label {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 12px;
  background: var(--yellow);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #080808;
  z-index: 50;
}

/* ---- Game card preview ---- */
.game-card-preview {
  position: relative;
  height: 220px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Card Stack ---- */
.card-stack {
  position: relative;
  width: 140px;
  height: 178px;
  margin-left: 44px; /* room for stack on the left */
}

/* Back cards — each translates LEFT, only the left-edge strip is exposed */
.stack-layer {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--stack-bg, #222);
  border: 1.5px solid rgba(255,255,255,0.18);
}

.stack-layer:nth-child(1) { transform: translateX(-44px); background: #ffcf00; }
.stack-layer:nth-child(2) { transform: translateX(-33px); }
.stack-layer:nth-child(3) { transform: translateX(-22px); }
.stack-layer:nth-child(4) { transform: translateX(-11px); }

/* Front card */
.stack-front {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  /* prominent 3D bevel + outer glow */
  border: 1.5px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0  4px 0 rgba(255,255,255,0.22),   /* top highlight */
    inset 4px 0  0 rgba(255,255,255,0.12),   /* left highlight */
    inset 0 -4px 0 rgba(0,0,0,0.55),         /* bottom shadow */
    inset -4px 0  0 rgba(0,0,0,0.35),        /* right shadow */
    0 8px 32px rgba(0,0,0,0.50);             /* outer depth shadow */
}

.stack-front img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* Full-cover image variant (Lucky Birds) */
.stack-front.full-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Bevel overlay on top of the full-cover image */
.stack-front.full-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0  4px 0 rgba(255,255,255,0.22),
    inset 4px 0  0 rgba(255,255,255,0.12),
    inset 0 -4px 0 rgba(0,0,0,0.55),
    inset -4px 0  0 rgba(0,0,0,0.35);
}

.game-card-inner { padding: 20px 32px 32px; }

.game-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,207,0,0.1);
  color: var(--yellow);
  margin-bottom: 24px;
  transition: var(--transition);
}
.game-icon svg { width: 32px; height: 32px; }
.icon-amber { background: rgba(255,159,0,0.1); color: var(--amber); }
.icon-warm  { background: rgba(255,228,77,0.1); color: var(--yellow-light); }

.game-card:hover .game-icon { transform: scale(1.1); }

.game-card-title {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: normal;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.game-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.game-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.game-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.game-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.game-card-footer { display: flex; gap: 8px; flex-wrap: wrap; }

.game-tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,207,0,0.3);
  color: var(--yellow);
  background: rgba(255,207,0,0.06);
}
.tag-amber {
  border-color: rgba(255,159,0,0.35);
  color: var(--amber);
  background: rgba(255,159,0,0.07);
}
.tag-warm {
  border-color: rgba(255,228,77,0.3);
  color: var(--yellow-light);
  background: rgba(255,228,77,0.06);
}

/* ====================================================
   ABOUT SECTION
==================================================== */
.about-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 0% 50%, rgba(255,207,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 420px;
}

.about-orb {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,207,0,0.15) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(40px);
}

.about-card-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.acard {
  padding: 20px 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.acard:hover {
  border-color: rgba(255,207,0,0.2);
  transform: translateX(6px);
}
.acard-1 { margin-left: 0; }
.acard-2 { margin-left: 32px; }
.acard-3 { margin-left: 16px; }

.acard-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 6px;
}
.acard-value {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 2.2rem;
  color: var(--yellow);
  line-height: 1;
}
.acard-value span { font-size: 1rem; color: var(--text-secondary); font-family: 'Outfit', sans-serif; }
.acard-trend { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.acard-trend.up { color: #34d399; }

.about-text .section-title { margin-bottom: 20px; }
.about-p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-p:last-of-type { margin-bottom: 32px; }

.about-badges { display: flex; flex-direction: column; gap: 12px; }
.about-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.about-badge svg {
  width: 18px; height: 18px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* ====================================================
   FEATURES SECTION
==================================================== */
.features-section {
  padding: 100px 0;
  position: relative;
}
.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,207,0,0.15), transparent);
}

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

.feat-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.feat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feat-card:hover {
  border-color: rgba(255,207,0,0.25);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.feat-card:hover .feat-icon {
  background: rgba(255,207,0,0.15);
}

.feat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,207,0,0.08);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: var(--transition);
}
.feat-icon svg { width: 22px; height: 22px; }

.feat-card h4 {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.feat-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ====================================================
   MARQUEE
==================================================== */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid rgba(255,207,0,0.08);
  border-bottom: 1px solid rgba(255,207,0,0.08);
  overflow: hidden;
  background: rgba(255,207,0,0.02);
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-inner span {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-inner .dot { color: var(--yellow); font-size: 0.65rem; font-family: inherit; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track:hover .marquee-inner { animation-play-state: paused; }

/* ====================================================
   CONTACT SECTION
==================================================== */
.contact-section {
  padding: 100px 0 120px;
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 100% 50%, rgba(255,207,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-title { margin-bottom: 16px; }
.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}
.contact-info-item:hover {
  border-color: rgba(255,207,0,0.3);
  color: var(--yellow);
  background: rgba(255,207,0,0.04);
  transform: translateX(4px);
}
.contact-info-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,207,0,0.1);
  border-radius: var(--radius-sm);
  color: var(--yellow);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }

/* Form */
.contact-form {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,207,0,0.5);
  background: rgba(255,207,0,0.03);
  box-shadow: 0 0 0 3px rgba(255,207,0,0.08);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.form-group select option { background: var(--bg-1); color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius-sm);
  color: #34d399;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* ====================================================
   FOOTER
==================================================== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,207,0,0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  text-align: center;
}
.footer-brand .logo-img {
  height: 80px;
  width: auto;
  margin: 0 auto 16px;
  border-radius: 10px;
  display: block;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-links-group h5 {
  font-family: 'GhostFont', 'Outfit', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links-group a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-disclaimer { max-width: 480px; text-align: right; }

/* ====================================================
   REVEAL ANIMATIONS
==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====================================================
   RESPONSIVE
==================================================== */

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { height: 300px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* --- Nav --- */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 16px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,207,0,0.1);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links {
    padding: 16px;
    gap: 4px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-link { width: 100%; text-align: center; padding: 12px; font-size: 1rem; }
  #navbar .nav-links .nav-cta {
    margin-top: 6px;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    border-radius: 100px !important;
    display: block !important;
    width: auto !important;
  }
  .burger { display: flex; gap: 6px; }

  /* --- Hero --- */
  .hero {
    padding: calc(var(--nav-h) + 48px) 16px 100px;
    min-height: 100svh;
  }
  .hero-content { max-width: 100%; }
  .hero-badge { font-size: 0.7rem; padding: 7px 14px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 32px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 40px;
  }
  .btn { width: 100%; max-width: 100%; justify-content: center; }

  /* Stats — stack vertically */
  .hero-stats {
    flex-direction: column;
    padding: 20px 16px;
    gap: 0;
    border-radius: var(--radius-lg);
  }
  .stat-item { padding: 16px 0; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }

  .hero-scroll-hint { display: none; }

  /* --- Games --- */
  .games-section { padding: 64px 0; }
  .games-grid {
    max-width: 100%;
    gap: 16px;
  }
  .game-card-inner { padding: 16px 20px 24px; }
  .game-card-preview { height: 180px; }

  /* Card stack — slightly smaller on mobile */
  .card-stack { width: 120px; height: 152px; margin-left: 36px; }
  .stack-layer:nth-child(1) { transform: translateX(-36px); }
  .stack-layer:nth-child(2) { transform: translateX(-27px); }
  .stack-layer:nth-child(3) { transform: translateX(-18px); }
  .stack-layer:nth-child(4) { transform: translateX(-9px); }

  /* --- About --- */
  .about-section { padding: 64px 0; }
  .about-visual { height: auto; }
  .about-card-stack {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }
  .acard-1, .acard-2, .acard-3 { margin-left: 0; text-align: center; }
  .about-text { text-align: center; }
  .about-text .section-title { text-align: center; }
  .about-badges { align-items: center; }
  .about-badge { justify-content: center; }

  /* --- Features --- */
  .features-section { padding: 64px 0; }
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .feat-card { padding: 22px; }

  /* --- Section headers --- */
  .section-header { margin-bottom: 40px; }
  .section-desc { font-size: 0.95rem; }

  /* --- Contact --- */
  .contact-section { padding: 64px 0 80px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px 16px; gap: 16px; }

  /* --- Footer --- */
  .footer { padding: 48px 0 24px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-disclaimer { text-align: left; max-width: 100%; }
}

/* ---------- Small mobile (≤ 480px) ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title { font-size: clamp(2rem, 11vw, 2.6rem); }
  .logo-badge { font-size: 1.1rem; padding: 10px 14px; }

  /* About cards — no offset on tiny screens */
  .acard-2, .acard-3 { margin-left: 0; }

  /* Marquee — a bit slower on mobile */
  .marquee-inner { animation-duration: 20s; }

  /* Game card preview slightly shorter */
  .game-card-preview { height: 160px; }
  .card-stack { width: 108px; height: 136px; margin-left: 32px; }
  .stack-layer:nth-child(1) { transform: translateX(-32px); }
  .stack-layer:nth-child(2) { transform: translateX(-24px); }
  .stack-layer:nth-child(3) { transform: translateX(-16px); }
  .stack-layer:nth-child(4) { transform: translateX(-8px); }

  .contact-form { padding: 16px; }
  .footer-bottom p { font-size: 0.75rem; }
}
