:root {
  --bg: #14141c;
  --bg-elevated: #1c1c28;
  --bg-soft: #232334;
  --orange: #ff4d05;
  --orange-hot: #ff6a2b;
  --orange-deep: #c93800;
  --text: #f5f2ee;
  --muted: #a8a4b3;
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 14px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 77, 5, 0.18), transparent 55%),
    radial-gradient(900px 500px at 0% 30%, rgba(255, 106, 43, 0.08), transparent 50%),
    linear-gradient(180deg, #101018 0%, var(--bg) 40%, #12121a 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(20, 20, 28, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.logo img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 77, 5, 0.35));
}

.nav {
  display: none;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.nav-mobile-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(8, 8, 12, 0.62);
  backdrop-filter: blur(2px);
}

.mobile-bar {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange));
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 77, 5, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(255, 77, 5, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--orange);
  color: var(--orange);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.btn-lg {
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 24, 0.28) 0%, rgba(16, 16, 24, 0.45) 45%, rgba(16, 16, 24, 0.94) 100%),
    linear-gradient(105deg, rgba(16, 16, 24, 0.92) 0%, rgba(16, 16, 24, 0.55) 42%, rgba(16, 16, 24, 0.15) 68%, rgba(16, 16, 24, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 6.5rem clamp(1rem, 3vw, 2.5rem) 3.5rem;
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 6.2rem);
  letter-spacing: -0.04em;
  color: var(--orange);
  margin: 0 0 0.35rem;
  text-shadow: 0 0 60px rgba(255, 77, 5, 0.45);
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  max-width: 16ch;
  color: #fff;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(245, 242, 238, 0.82);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Providers marquee */
.providers {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 1.25rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.providers-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding-inline: 2rem;
}

.providers-track img {
  height: 28px;
  width: auto;
  opacity: 0.72;
  filter: brightness(0) invert(1);
}

/* Sections */
.split,
.vip,
.support,
.bets,
.community,
.faq,
.band {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.5rem);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  max-width: 18ch;
}

.split-copy p {
  max-width: 42ch;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0 0 1.5rem;
}

.chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 77, 5, 0.12);
  border: 1px solid rgba(255, 77, 5, 0.28);
  color: #ffd2bc;
  font-size: 0.85rem;
  font-weight: 600;
}

.split-visual {
  position: relative;
  min-height: 320px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  isolation: isolate;
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 16, 24, 0.55));
  pointer-events: none;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.casino-visual {
  background: linear-gradient(145deg, #4a49a8, #2a2a5a);
}

.sport-visual {
  background: linear-gradient(145deg, #ff7a2e, #d84500);
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.band-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 3vw, 2.5rem);
  border-radius: 0;
  background:
    radial-gradient(700px 280px at 20% 0%, rgba(255, 77, 5, 0.22), transparent 60%),
    linear-gradient(135deg, #1f1f2d, #171722 55%, #241910);
  border-block: 1px solid var(--line);
}

.band-inner h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  max-width: 22ch;
}

.band-inner p {
  max-width: 52ch;
}

.currency-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 1.75rem;
}

.currency-row span {
  min-width: 64px;
  text-align: center;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.vip-intro {
  margin-bottom: 2.5rem;
  max-width: 48rem;
}

.vip-intro h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  max-width: 24ch;
}

.vip-grid {
  display: grid;
  gap: 1rem;
}

.vip-grid article {
  padding: 1.35rem 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.vip-grid article:hover {
  border-color: rgba(255, 77, 5, 0.35);
  transform: translateY(-2px);
}

.vip-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.vip-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.support,
.community {
  text-align: center;
}

.support h2,
.community h2,
.faq h2,
.bets-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.support p,
.community p,
.bets-head p {
  max-width: 46ch;
  margin-inline: auto;
}

.community-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.community-links a {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 77, 5, 0.12);
  border: 1px solid rgba(255, 77, 5, 0.35);
  color: #ffd2bc;
  font-weight: 700;
}

.bets-head {
  margin-bottom: 1.5rem;
}

.bets-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.bets-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr 0.7fr 0.8fr;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  align-items: center;
}

.bets-head-row {
  border-top: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.03);
}

.bets-row .win {
  color: #7dffb0;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.2rem 1rem;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: rgba(255, 77, 5, 0.35);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 1rem 0;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1rem, 3vw, 2.5rem) 2rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 32ch;
}

.footer-cols {
  display: grid;
  gap: 1.5rem;
}

.footer-cols h4 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-cols a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-cols a:hover {
  color: var(--orange);
}

.footer-copy {
  margin: 0;
  color: #6f6b7a;
  font-size: 0.85rem;
}

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

@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero {
    align-items: center;
  }

  .hero-img {
    object-position: 78% center;
  }

  .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split.reverse .split-copy {
    order: 2;
  }

  .split.reverse .split-visual {
    order: 1;
  }

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

  .footer {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }

  .band-inner {
    border-radius: 22px;
    border: 1px solid var(--line);
    margin-inline: clamp(1rem, 3vw, 2.5rem);
  }
}

@media (min-width: 1024px) {
  .vip-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-content {
    padding-bottom: 5.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.menu-open {
    overflow: hidden;
  }

  .header {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    padding-top: calc(0.7rem + env(safe-area-inset-top, 0px));
    background: rgba(20, 20, 28, 0.92);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }

  .logo img {
    height: 28px;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .header-actions .btn-primary {
    min-height: 38px;
    padding: 0.5rem 0.85rem;
    font-size: 0.84rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: calc(62px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    z-index: 45;
    width: min(86vw, 320px);
    padding: 1.25rem 1.1rem 1.5rem;
    gap: 0.15rem;
    background: #181822;
    border-left: 1px solid var(--line);
    transform: translateX(104%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }

  body.menu-open .nav {
    transform: translateX(0);
  }

  .nav a {
    padding: 0.95rem 0.85rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
  }

  .nav a:active {
    background: rgba(255, 77, 5, 0.12);
  }

  .nav-mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-cta .btn {
    width: 100%;
  }

  .hero {
    min-height: 100svh;
    align-items: stretch;
  }

  .hero-media {
    position: absolute;
    inset: 0;
  }

  .hero-img {
    object-position: 62% 18%;
    transform: scale(1.08);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(16, 16, 24, 0.15) 0%, rgba(16, 16, 24, 0.2) 38%, rgba(16, 16, 24, 0.88) 68%, rgba(16, 16, 24, 0.98) 100%),
      linear-gradient(90deg, rgba(16, 16, 24, 0.55) 0%, transparent 55%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    padding: 5.5rem 1rem calc(1.5rem + 8px);
  }

  .brand-mark {
    font-size: clamp(2.8rem, 16vw, 4rem);
    margin-bottom: 0.2rem;
  }

  .hero h1 {
    font-size: 1.35rem;
    max-width: 16ch;
    margin-bottom: 0.55rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    max-width: 28ch;
    margin-bottom: 1.25rem;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 50px;
  }

  .providers {
    padding: 1rem 0;
  }

  .providers-track {
    gap: 2rem;
    animation-duration: 24s;
  }

  .providers-track img {
    height: 22px;
  }

  .split,
  .vip,
  .support,
  .bets,
  .community,
  .faq {
    padding: 2.75rem 1rem;
  }

  .split {
    gap: 1.35rem;
  }

  .split-copy h2,
  .vip-intro h2,
  .band-inner h2,
  .support h2,
  .community h2,
  .faq h2,
  .bets-head h2 {
    font-size: 1.4rem;
    max-width: none;
  }

  .split-copy h2 br {
    display: none;
  }

  .chips {
    gap: 0.45rem;
    margin-bottom: 1.15rem;
  }

  .chips li {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }

  .split-visual {
    min-height: 0;
    border-radius: 16px;
    order: -1;
  }

  .split-visual img {
    min-height: 220px;
    max-height: 280px;
    object-position: center top;
  }

  .split.reverse .split-visual {
    order: -1;
  }

  .band {
    padding: 0;
  }

  .band-inner {
    padding: 2.5rem 1rem;
  }

  .currency-row {
    gap: 0.45rem;
    margin: 1.15rem 0 1.35rem;
  }

  .currency-row span {
    min-width: 52px;
    padding: 0.45rem 0.6rem;
    font-size: 0.78rem;
    flex: 1 1 calc(33.33% - 0.45rem);
  }

  .vip-intro {
    margin-bottom: 1.25rem;
  }

  .vip-intro .btn,
  .support .btn,
  .split-copy .btn,
  .band-inner .btn {
    width: 100%;
  }

  .vip-grid {
    gap: 0.7rem;
  }

  .vip-grid article {
    padding: 1.1rem 1rem;
  }

  .bets-table {
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bets-row {
    grid-template-columns: minmax(120px, 1.5fr) 0.75fr 0.75fr;
    gap: 0.4rem;
    padding: 0.85rem 0.8rem;
    font-size: 0.82rem;
    min-width: 0;
  }

  .bets-row span:nth-child(2),
  .bets-row span:nth-child(4) {
    display: none;
  }

  .bets-row span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-links {
    flex-direction: column;
  }

  .community-links a {
    width: 100%;
    text-align: center;
  }

  .faq summary {
    font-size: 0.95rem;
    padding-right: 1.5rem;
    line-height: 1.35;
  }

  .faq summary::after {
    float: none;
    position: absolute;
    right: 1rem;
  }

  .faq details {
    position: relative;
    padding-inline: 0.9rem;
  }

  .footer {
    padding: 2.25rem 1rem 1.5rem;
    gap: 1.5rem;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    min-height: 64px;
    padding: 0.35rem 0.35rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(24, 24, 34, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 48px;
    color: #c4c0ce;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
  }

  .mobile-bar-item svg {
    width: 22px;
    height: 22px;
    opacity: 0.9;
  }

  .mobile-bar-play {
    width: 54px;
    height: 54px;
    margin: 0 auto 0.35rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--orange-hot), var(--orange));
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 77, 5, 0.45);
    transform: translateY(-10px);
  }

  .mobile-bar-play svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 380px) {
  .header-actions .btn-primary {
    display: none;
  }

  .brand-mark {
    font-size: 2.55rem;
  }

  .hero h1 {
    font-size: 1.22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .providers-track,
  .hero-img,
  .hero-content,
  .nav {
    animation: none;
    transition: none;
  }
}
