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

:root {
  --bg-deep: #050b14;
  --bg-surface: #0a1526;
  --bg-card: rgba(14, 28, 48, 0.72);
  --bg-card-hover: rgba(20, 38, 64, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(251, 191, 36, 0.25);
  --border-mint: rgba(84, 243, 188, 0.25);

  --gold: #fbbf24;
  --gold-glow: #ffd700;
  --gold-dark: #b45309;
  --mint: #34d399;
  --mint-glow: #54f3bc;
  --sky: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-gold: 0 10px 30px -8px rgba(251, 191, 36, 0.35);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 90% 8%, rgba(16, 185, 129, 0.12) 0, transparent 40rem),
    radial-gradient(circle at 10% 25%, rgba(56, 189, 248, 0.12) 0, transparent 45rem),
    radial-gradient(circle at 50% 60%, rgba(251, 191, 36, 0.06) 0, transparent 50rem),
    radial-gradient(circle at 80% 90%, rgba(37, 99, 235, 0.1) 0, transparent 40rem);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========================================================
   NAVIGATION HEADER
   ======================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem max(1.5rem, calc((100vw - 76rem) / 2));
  background: rgba(5, 11, 20, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-logo {
  height: 2.5rem;
  width: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.06) rotate(-3deg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint);
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse-dot 1.8s infinite;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ========================================================
   MAIN CONTAINER & SECTIONS
   ======================================================== */
main {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  min-height: 44rem;
  padding: 3rem 0 4rem;
  position: relative;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  width: fit-content;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-icon {
  color: var(--gold);
  font-size: 0.85rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

.intro {
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 36rem;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button.primary {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #09101d;
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.button.primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.75s ease;
}

.button.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px -5px rgba(251, 191, 36, 0.55);
}

.button.primary:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
}

.hero-proof-item b {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-proof-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ========================================================
   3D BOARD STAGE
   ======================================================== */
.board-stage {
  position: relative;
  width: 100%;
  height: 34rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-stage-glow {
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(251, 191, 36, 0.1) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.board-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.board-canvas-wrap:active {
  cursor: grabbing;
}

.board-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.board-tag {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(10, 21, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.board-tag span {
  color: var(--mint);
}

/* ========================================================
   LIVE WINNERS MARQUEE TICKER
   ======================================================== */
.ticker-wrap {
  margin: 1rem 0 4rem;
  padding: 0.75rem 1.25rem;
  background: rgba(14, 28, 48, 0.6);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.ticker-item strong {
  color: var(--gold);
  font-weight: 800;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================================
   SECTION HEADINGS
   ======================================================== */
.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ========================================================
   GAME MODES / ARENAS SECTION
   ======================================================== */
.arenas {
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
}

.arena-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.arena-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arena-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arena-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card), 0 0 25px rgba(251, 191, 36, 0.15);
}

.arena-card:hover::before {
  opacity: 1;
}

.arena-icon {
  font-size: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.arena-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.arena-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.arena-badge {
  margin-top: auto;
  padding: 0.5rem 1rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
}

/* ========================================================
   MATCH FLOW (4 STEPS)
   ======================================================== */
.flow {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: all 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: var(--border-mint);
  background: var(--bg-card-hover);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--mint);
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num-icon {
  font-size: 1.2rem;
  opacity: 0.7;
}

.flow-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.flow-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ========================================================
   TRUST & FAIR PLAY PROMISE
   ======================================================== */
.trust {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.trust-banner {
  background: linear-gradient(135deg, rgba(14, 28, 48, 0.9) 0%, rgba(10, 21, 38, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.trust-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.trust-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0.75rem 0 1rem;
}

.trust-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.trust-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.trust-card b {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
}

.trust-card span {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ========================================================
   FAQS ACCORDION
   ======================================================== */
.faq {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
  max-width: 54rem;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

.faq details[open] {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq details[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #0f172a;
}

.faq details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* ========================================================
   CLOSING VIP BANNER
   ======================================================== */
.closing {
  margin: 4rem 0 5rem;
  padding: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #064e3b 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
  max-width: 38rem;
}

.closing p {
  color: #cbd5e1;
  font-size: 1.12rem;
  max-width: 32rem;
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem max(1.5rem, calc((100vw - 76rem) / 2));
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  background: rgba(5, 11, 20, 0.95);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p,
.footer-bottom small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ========================================================
   KEYFRAME ANIMATIONS
   ======================================================== */
@keyframes pulse-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

/* ========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ======================================================== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: 0;
    padding: 2rem 0;
  }

  .board-stage {
    height: 28rem;
  }

  .arena-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.85rem 1rem;
  }

  .live-badge {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .board-stage {
    height: 22rem;
  }

  .hero-proof {
    gap: 1rem;
    justify-content: space-between;
  }

  .hero-proof-item b {
    font-size: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

