:root {
  --font: "Montserrat", "Roboto", Arial, sans-serif;
  --blue-950: #06163f;
  --blue-900: #0a1b4e;
  --blue-800: #102968;
  --blue-700: #173a88;
  --gold: #ffcc00;
  --gold-soft: #ffe480;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --surface-3: #e8ecf5;
  --ink: #162039;
  --muted: #65718d;
  --green: #11a86b;
  --red: #ce1732;
  --shadow: 0 16px 34px rgba(6, 22, 63, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface-2);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
}

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

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

button,
input {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-strip {
  background: var(--surface);
  border-bottom: 1px solid #d8deeb;
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 600;
}

.legal-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1366px;
  min-height: 42px;
  margin: 0 auto;
  padding: 6px 18px;
}

.legal-strip p {
  margin: 0;
}

.legal-strip a {
  color: var(--blue-700);
  text-decoration: underline;
}

.legal-strip__logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.legal-strip__logos img:first-child {
  width: 92px;
}

.legal-strip__logos img:last-child {
  width: 70px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--blue-900);
  color: #fff;
  box-shadow: 0 10px 28px rgba(6, 22, 63, 0.24);
}

.header-core {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1366px;
  margin: 0 auto;
  padding: 14px 18px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  flex: 0 0 auto;
  font-family: "Roboto Condensed", var(--font);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand__pixel {
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.brand__gold {
  color: var(--gold);
}

.brand__white {
  color: #fff;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(120px, 170px) auto auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.login-panel input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}

.login-panel input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn--gold {
  background: var(--gold);
  color: var(--blue-900);
  box-shadow: 0 8px 18px rgba(255, 204, 0, 0.25);
}

.btn--dark {
  background: #071237;
  color: #fff;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #071842;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-nav__item::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.primary-nav__item:hover,
.primary-nav__item--home {
  color: var(--gold);
}

.primary-nav__item:hover::after,
.primary-nav__item--home::after {
  transform: scaleX(1);
}

main {
  max-width: 1366px;
  margin: 0 auto;
  padding-bottom: 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px 18px 12px;
}

.hero__stage {
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-900);
  box-shadow: var(--shadow);
}

.hero__banner {
  position: relative;
  display: block;
  min-height: 0;
}

.hero__banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 220;
  object-fit: contain;
}

.hero__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  border-radius: 4px;
  background: rgba(6, 22, 63, 0.82);
  color: #fff;
  padding: 8px 12px;
  font-size: clamp(12px, 1.7vw, 15px);
  font-weight: 800;
  line-height: 1.2;
}

.hero__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid #d7ddeb;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--blue-900);
  padding: 7px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(6, 22, 63, 0.06);
}

.hero-thumb img {
  width: 92px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
}

.hero-thumb span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.hero-thumb.is-active {
  border-color: var(--gold);
  background: #fff9d8;
}

.seo-block,
.content-section,
.join-panel,
.instant-bonus {
  margin: 14px 18px 0;
}

.seo-block {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(6, 22, 63, 0.08);
}

.seo-block details {
  overflow: hidden;
}

.seo-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  background: var(--blue-900);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.seo-block summary::after {
  content: "expand_less";
  color: var(--gold);
  font-family: "Roboto", var(--font);
  font-size: 12px;
  text-transform: uppercase;
}

.seo-block details:not([open]) summary::after {
  content: "expand_more";
}

.seo-block__content {
  max-height: none;
  overflow: visible;
  padding: 22px;
  color: #1d2740;
  font-size: 14px;
  line-height: 1.7;
}

.seo-block__content h1,
.seo-block__content h2,
.seo-block__content h3 {
  margin: 0 0 9px;
  color: var(--blue-900);
  font-weight: 800;
  line-height: 1.25;
}

.seo-block__content h1 {
  font-size: 22px;
}

.seo-block__content h2 {
  margin-top: 18px;
  font-size: 18px;
}

.seo-block__content h3 {
  margin-top: 16px;
  font-size: 15px;
}

.seo-block__content p + p {
  margin-top: 10px;
}

.instant-bonus {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #071842, #0f2b73 52%, #071842);
  color: #fff;
  padding: 12px 26px;
  box-shadow: var(--shadow);
}

.instant-bonus img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: bonusSpin 6s linear infinite;
}

.instant-bonus a {
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

@keyframes bonusSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  33% {
    transform: rotate(360deg) scale(1);
  }
  50% {
    transform: rotate(360deg) scale(0.92);
  }
  66%,
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.content-section,
.join-panel {
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(6, 22, 63, 0.08);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.section-head h2,
.join-panel h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.15;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.section-head a::after {
  content: ">";
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.promo-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-900);
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 22, 63, 0.12);
}

.promo-card img {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
}

.promo-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.promo-card__actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 35px;
  background: var(--blue-900);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.promo-card__actions a:first-child {
  background: var(--gold);
  color: var(--blue-900);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 285px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.rail::-webkit-scrollbar {
  height: 7px;
}

.rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c9d0df;
}

.odds-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid #d9deea;
  border-radius: var(--radius);
  background: #fff;
  scroll-snap-align: start;
}

.odds-card__top {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  background: var(--blue-900);
  color: #fff;
  padding: 8px 10px;
}

.odds-card__top img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.odds-card__league {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.odds-card__status {
  margin-left: auto;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.odds-card__body {
  padding: 10px;
}

.teams {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.teams span:nth-child(2n) {
  color: var(--blue-700);
  font-weight: 900;
}

.market {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.odds-card__odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #dce2ef;
}

.odd {
  display: grid;
  gap: 2px;
  min-height: 44px;
  border: 0;
  background: #f8fafc;
  color: var(--blue-900);
  padding: 6px;
  cursor: pointer;
}

.odd b {
  font-size: 12px;
  font-weight: 800;
}

.odd span {
  font-size: 15px;
  font-weight: 900;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 12px;
}

.game-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-900);
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 22, 63, 0.12);
}

.game-card__media {
  position: relative;
  overflow: hidden;
  background: #0e1c48;
}

.game-card__media > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.game-card:hover .game-card__media > img {
  transform: scale(1.04);
}

.game-card__badge {
  position: absolute;
  left: 7px;
  top: 7px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--blue-900);
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 900;
}

.provider {
  position: absolute;
  right: 7px;
  bottom: 7px;
  max-width: 62px;
  max-height: 22px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px;
  object-fit: contain;
}

.provider.provider--text {
  color: var(--blue-900);
  font-size: 9px;
  font-weight: 800;
}

.game-card__body {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.game-card__body h3 {
  min-height: 34px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.game-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.game-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.game-card__actions a:first-child {
  background: var(--gold);
  color: var(--blue-900);
}

.join-panel {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  background: linear-gradient(135deg, #fff 0%, #eef2fa 100%);
}

.join-panel__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.eyebrow {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.join-step {
  min-width: 0;
  border: 1px solid #d9deea;
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.join-step img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 14px;
}

.join-step h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.join-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
}

.news-card {
  overflow: hidden;
  border: 1px solid #d9deea;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 18px rgba(6, 22, 63, 0.08);
}

.news-card img {
  width: 100%;
  aspect-ratio: 470 / 245;
  object-fit: cover;
}

.news-card__body {
  padding: 13px;
}

.news-card__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.app-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px solid #d9deea;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f5f7fb);
  padding: 18px 10px;
  color: var(--blue-900);
  font-weight: 900;
  text-align: center;
}

.app-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.site-footer {
  margin-top: 18px;
  background: #071842;
  color: #dfe6f6;
  padding: 28px 18px;
}

.footer-brand,
.footer-columns,
.footer-legal {
  max-width: 1366px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand > img {
  width: 125px;
  height: auto;
}

.store-locator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.store-locator img {
  width: 58px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 28px 0;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.footer-column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: #d3dcf2;
  font-size: 12px;
  line-height: 1.35;
}

.footer-column a:hover,
.footer-legal a {
  color: var(--gold);
}

.footer-legal {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d3dcf2;
  font-size: 12px;
  text-align: center;
}

.footer-legal__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.footer-legal__logos img:first-child {
  width: 112px;
}

.footer-legal__logos img:last-child {
  width: 76px;
}

.footer-legal p {
  max-width: 880px;
  margin: 0 auto;
}

.payments {
  justify-self: center;
  width: 309px;
  max-width: 100%;
  height: auto;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .header-core {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-panel {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
  }

  .hero-thumb {
    grid-template-columns: 1fr;
  }

  .hero-thumb img {
    width: 100%;
  }

  .promo-grid,
  .apps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .join-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .legal-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .login-panel {
    grid-template-columns: 1fr 1fr;
  }

  .login-panel .btn {
    width: 100%;
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .hero,
  .seo-block,
  .content-section,
  .join-panel,
  .instant-bonus {
    margin-left: 10px;
    margin-right: 10px;
  }

  .hero {
    padding: 10px 10px 0;
  }

  .hero__banner img {
    min-height: 0;
  }

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

  .instant-bonus {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 12px;
  }

  .instant-bonus img {
    width: 48px;
    height: 48px;
  }

  .instant-bonus img:last-child {
    display: none;
  }

  .instant-bonus a {
    text-align: left;
  }

  .promo-grid,
  .apps-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }

  .game-grid,
  .game-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 460px) {
  .header-core {
    padding: 12px 10px;
  }

  .login-panel {
    grid-template-columns: 1fr;
  }

  .primary-nav__item {
    padding: 0 12px;
    font-size: 12px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .game-grid,
  .game-grid--featured {
    grid-template-columns: 1fr;
  }

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