:root {
  --bg: #0b0f1a;
  --bg-dark: #070a12;
  --surface: #141b2d;
  --surface-2: #1a2340;
  --text: #eaf0ff;
  --muted: #8a9cc0;
  --accent: #31d0c6;
  --gold: #f3c96a;
  --red: #cd3334;
  --copper: #cf8a51;
  --radius: 14px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

.container { width: min(1200px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; top: -200%; left: 0; padding: .5rem 1rem;
  background: #fff; color: #000; z-index: 999;
}
.skip-link:focus { top: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px;
  padding: .6rem 1.3rem; font: inherit; font-weight: 600;
  cursor: pointer; transition: transform .18s, background .18s, border-color .18s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--copper));
  color: #04131d;
}
.btn--ghost {
  background: rgba(255,255,255,.06); color: var(--text);
  border-color: rgba(255,255,255,.18);
}
.btn--lg { padding: .85rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .4rem .85rem; font-size: .85rem; }

.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11,15,26,.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.header.compact { background: rgba(11,15,26,.95); border-bottom-color: rgba(49,208,198,.3); }
.header-inner {
  display: flex; align-items: center; gap: 1.2rem;
  padding: .75rem 0;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-logo { height: 38px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; list-style: none; padding: 0; gap: 1.2rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: .5rem; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 3.5rem;
  background: radial-gradient(ellipse at 30% 20%, rgba(49,208,198,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(243,201,106,.08) 0%, transparent 50%);
}
.hero-deco {
  position: absolute; pointer-events: none; opacity: .5;
  animation: floatY 6s ease-in-out infinite alternate;
}
.hero-deco--left  { width: 180px; top: 10%; left: -2%; }
.hero-deco--right { width: 130px; bottom: 8%; right: 0; animation-delay: -3s; }
@keyframes floatY { to { transform: translateY(-18px); } }

.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 2rem; align-items: center; position: relative;
}
.hero h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem,4.2vw,3.4rem); margin-bottom: .6rem; }
.accent { color: var(--gold); }
.hero-lead { color: var(--muted); max-width: 56ch; margin-bottom: 1.2rem; }
.hero-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-mascot {
  background: linear-gradient(160deg, rgba(49,208,198,.12), rgba(207,138,81,.1));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.mascot-img { width: min(300px, 100%); filter: drop-shadow(0 8px 24px rgba(0,0,0,.35)); }

.section { padding: 3.5rem 0; }
.section--dark { background: var(--bg-dark); }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.2rem;
}
.section-header h2 { font-family: "Space Grotesk", sans-serif; margin: 0; }

.slider-nav { display: flex; gap: .4rem; }
.slider-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.slider-arrow:hover { background: rgba(255,255,255,.16); }
.slider-arrow img { width: 16px; height: 16px; }
.arrow-left { transform: rotate(180deg); }

.slider {
  display: grid; grid-auto-flow: column;
  gap: 1rem; overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
  padding-bottom: .5rem;
}

.hero-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 5;
  background: var(--surface);
}
.hero-banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius);
  opacity: 0; transition: opacity .6s ease;
}
.hero-banner-img.active { opacity: 1; }
.banner-dots {
  position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .45rem; z-index: 2;
}
.banner-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .2s;
}
.banner-dot.active { background: #fff; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; background: rgba(0,0,0,.45); border: none;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.banner-arrow:hover { background: rgba(0,0,0,.7); }
.banner-arrow img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.banner-arrow--prev { left: .75rem; }
.banner-arrow--next { right: .75rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip {
  border: 1px solid rgba(255,255,255,.15); border-radius: 999px;
  padding: .45rem 1rem; font: inherit; font-size: .88rem;
  color: var(--text); background: rgba(255,255,255,.06);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.chip:hover { background: rgba(255,255,255,.1); }
.chip.active { background: rgba(49,208,198,.18); border-color: rgba(49,208,198,.6); }

.game-slider { grid-auto-columns: minmax(220px, 1fr); }

.game-card {
  scroll-snap-align: start;
  background: var(--surface); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s; display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-5px); }

.game-thumb {
  height: 160px; overflow: hidden;
  background: var(--surface-2);
}
.game-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.game-card:hover .game-img { transform: scale(1.06); }

.game-provider { padding: .6rem .8rem 0; font-size: .75rem; color: var(--gold); }
.game-card h3 { padding: .15rem .8rem 0; font-size: .95rem; }
.game-card p { padding: .1rem .8rem; color: var(--muted); font-size: .82rem; flex: 1; }
.game-actions { display: flex; gap: .4rem; padding: .5rem .8rem .8rem; }

.live-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.live-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.1rem; position: relative;
}
.live-card--hot { border-color: rgba(243,201,106,.4); }
.live-thumb {
  width: 100%; height: 120px; object-fit: cover;
  border-radius: var(--radius-sm); margin-bottom: .6rem;
}
.pill {
  display: inline-block; margin-top: .5rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: .2rem .65rem; font-size: .78rem;
}
.pill--hot { background: rgba(243,201,106,.15); border-color: rgba(243,201,106,.5); color: var(--gold); }

.tourney-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: end; }
.podium { display: flex; align-items: end; justify-content: center; gap: .6rem; }
.podium-item {
  background: var(--surface); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  width: 110px; text-align: center; padding: 1rem .5rem .8rem;
  display: flex; flex-direction: column; gap: .2rem;
}
.podium-item--1 { padding-top: 1.6rem; border-color: rgba(243,201,106,.6); }
.podium-item--2 { padding-top: 1.2rem; border-color: rgba(167,188,214,.4); }
.podium-item--3 { border-color: rgba(207,138,81,.4); }
.podium-rank { font-weight: 800; font-size: 1.1rem; }
.podium-item--1 .podium-rank { color: var(--gold); }
.podium-item--2 .podium-rank { color: #c0c8d8; }
.podium-item--3 .podium-rank { color: var(--copper); }
.podium-pts { font-size: .78rem; color: var(--muted); }

.tourney-info { display: flex; flex-direction: column; gap: .6rem; }
.pool { font-size: 1.4rem; font-weight: 700; }
.pool span { color: var(--muted); font-weight: 400; font-size: 1rem; }
.bar { height: 10px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 999px; }
.countdown { color: var(--gold); font-weight: 600; }

.vip-track { display: grid; grid-template-columns: repeat(5,1fr); gap: .5rem; margin-bottom: 1rem; }
.vip-step {
  text-align: center; border-radius: var(--radius-sm);
  padding: .8rem .5rem; border: 1px solid rgba(255,255,255,.12);
  color: var(--muted); font-weight: 500;
}
.vip-step.done { color: var(--text); border-color: rgba(49,208,198,.45); }
.vip-step.active { color: #fff; border-color: rgba(243,201,106,.6); background: rgba(243,201,106,.1); }
.vip-perks {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: .5rem;
}
.vip-perks div {
  background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: .7rem .9rem; font-size: .9rem;
}

.bank-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.bank-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.2rem;
}
.bank-card p { color: var(--muted); font-size: .9rem; }
.payment-row {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: center; margin-top: 1.5rem;
  padding: 1rem; background: var(--surface);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
}
.payment-row img { height: 36px; width: auto; opacity: .85; transition: opacity .2s; }
.payment-row img:hover { opacity: 1; }

.providers-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  justify-content: center; padding: 1.2rem;
  background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.providers-row img { height: 32px; width: auto; opacity: .7; transition: opacity .2s; }
.providers-row img:hover { opacity: 1; }

.faq-item {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); margin-bottom: .5rem;
  background: var(--surface);
}
.faq-item summary {
  list-style: none; padding: .9rem 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow { width: 18px; height: 18px; opacity: .5; transition: transform .25s; }
.faq-item[open] .faq-arrow { transform: rotate(90deg); }
.faq-item p { padding: 0 1rem 1rem; color: var(--muted); }

.about-text h2 { font-family: "Space Grotesk", sans-serif; margin-bottom: 1rem; }
.about-text p { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: .8rem; max-width: 85ch; }
.about-text p:last-child { margin-bottom: 0; }

.section h2 { font-family: "Space Grotesk", sans-serif; margin-bottom: .8rem; }
.section-desc { color: var(--muted); font-size: .94rem; line-height: 1.7; max-width: 85ch; margin-bottom: 1.5rem; }

.trust-badges { padding: 1.5rem 0; background: var(--surface); border-bottom: 1px solid rgba(255,255,255,.06); }
.trust-list {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  list-style: none; padding: 0; margin: 0;
  justify-content: center; font-size: .95rem;
}

.bonus-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1rem; }
.bonus-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.4rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.bonus-card h3 { font-size: 1.1rem; }
.bonus-card p { color: var(--muted); font-size: .9rem; line-height: 1.6; flex: 1; }
.bonus-card a { align-self: flex-start; margin-top: .4rem; }

.offer-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.offer-list li {
  background: var(--surface); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: .8rem 1rem;
  font-size: .92rem; color: var(--muted);
}
.offer-list li strong { color: var(--text); }

.game-showcase {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem;
}
.game-tag {
  background: linear-gradient(135deg, rgba(49,208,198,.12), rgba(243,201,106,.1));
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .9rem; font-weight: 500;
}

.category-links { display: flex; flex-wrap: wrap; gap: .6rem; }

.app-split { display: grid; gap: 1.5rem; }
.app-text p { color: var(--muted); font-size: .94rem; line-height: 1.7; margin-bottom: 1rem; }
.app-text h3 { margin-bottom: .8rem; }
.app-perks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.app-perks li {
  background: var(--surface-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm); padding: .7rem 1rem;
  font-size: .9rem; color: var(--muted);
}
.app-perks li strong { color: var(--text); }
.app-btns { display: flex; gap: .6rem; flex-wrap: wrap; }

.safety-text { margin-bottom: 1.5rem; }
.safety-text p { color: var(--muted); font-size: .94rem; line-height: 1.7; margin-bottom: .8rem; max-width: 85ch; }
.trust-icons {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem;
}
.trust-icon {
  background: var(--surface); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: .7rem 1.2rem;
  font-size: .88rem; font-weight: 500; color: var(--gold);
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }

.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-logo { height: 32px; margin-bottom: .6rem; }
.footer p, .footer h4 + p { color: var(--muted); font-size: .88rem; }
.footer h4 { margin-bottom: .5rem; font-size: .95rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .5rem; }
.badge-row img { height: 26px; width: auto; opacity: .85; }
.social a { display: inline-flex; }
.social img { height: 28px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1rem; }
.footer-bottom p { color: var(--muted); font-size: .8rem; text-align: center; }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  display: none; place-items: center; padding: 1rem; z-index: 200;
}
.modal.is-open { display: grid; }
.modal-card {
  width: min(500px, 100%); background: var(--surface);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  padding: 1.5rem; position: relative;
}
.modal-close {
  position: absolute; top: .7rem; right: .9rem;
  background: none; border: none; color: var(--text);
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.modal-step { color: var(--muted); margin-bottom: .8rem; }
.step { display: none; }
.step.is-active { display: grid; gap: .6rem; }
.modal label { display: grid; gap: .3rem; font-size: .92rem; }
.modal input, .modal select {
  width: 100%; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2); background: var(--bg);
  color: #fff; padding: .6rem .7rem; font: inherit;
}
.strength { font-size: .82rem; color: var(--muted); }
.modal-btns { margin-top: 1rem; display: flex; justify-content: space-between; gap: .5rem; }

@media (max-width: 980px) {
  .nav, .header-actions { display: none; }
  .burger { display: flex; }
  .hero-grid, .tourney-grid, .footer-grid { grid-template-columns: 1fr; }
  .vip-track { grid-template-columns: repeat(3,1fr); }
  .bank-grid { grid-template-columns: 1fr; }
  .bonus-grid { grid-template-columns: 1fr; }
  .trust-list { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .hero-banner { aspect-ratio: 16 / 7; }
  .banner-arrow { width: 32px; height: 32px; }
  .banner-arrow img { width: 14px; height: 14px; }
  .vip-track { grid-template-columns: repeat(2,1fr); }
  .live-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}
