:root {
  --navy: #071a44;
  --navy-deep: #050b1c;
  --navy-bar: #0a1f52;
  --navy-mid: #12307a;
  --ink: #071433;
  --yellow: #ffce00;
  --yellow-hot: #ffd84a;
  --login-blue: #1e5ad4;
  --text: #f5f7ff;
  --muted: #b8c4e0;
  --quiet: #8a97b8;
  --line: rgba(255, 206, 0, 0.18);
  --radius: 4px;
  --radius-lg: 6px;
  --dock: 64px;
  --max: 1171px;
  --font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: #020817;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background-color: #020817;
  background-image: url("/images/main_bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: scroll;
}

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

a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10000;
  background: var(--yellow);
  color: #111;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
}

.wrap {
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
}

.shell {
  min-height: 100vh;
  padding-bottom: var(--dock);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.util-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 42px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.util-left,
.util-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 4px 0;
}

.lang-chip svg {
  width: 18px;
  height: 12px;
}

.offer-megaphone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--yellow);
}

.offer-trustpilot {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.offer-trustpilot svg {
  width: 16px;
  height: 16px;
}

.offer-forgot {
  display: none;
  color: #cfd6e8;
  font-size: 13px;
}

.offer-reg-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--yellow);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  border-radius: 3px;
}

.login-fields {
  display: none;
  align-items: center;
  gap: 6px;
}

.login-fields input {
  width: 148px;
  height: 30px;
  border: 0;
  border-radius: 2px;
  padding: 0 8px;
  font-size: 12px;
  color: #222;
  background: #fff;
}

.login-fields input:focus {
  outline: 2px solid var(--yellow);
}

.offer-login-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--login-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #4d86f0;
  border-radius: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(148px, 18vw, 210px);
  min-width: 148px;
  height: auto;
}

.nav-main {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 76px;
  min-height: 72px;
  padding: 8px 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-item svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
}

.nav-item:hover,
.nav-item:focus-visible,
.nav-item.is-current {
  color: var(--yellow);
  text-decoration: none;
}

.nav-item:hover svg,
.nav-item.is-current svg {
  stroke: var(--yellow);
}

.badge-new {
  position: absolute;
  top: 4px;
  right: 2px;
  background: #e31b23;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 8px;
}

.promo-btn {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 180px;
  margin: 0;
  padding: 0;
  gap: 4px;
  background: transparent;
  color: #050b1c;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.promo-btn img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.promo-btn .promo-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px 9px;
  background: var(--yellow);
  color: #050b1c;
}

.promo-btn:hover,
.promo-btn:focus-visible,
.promo-btn.is-current {
  color: #050b1c;
  text-decoration: none;
  background: transparent;
}

.promo-btn:hover .promo-body,
.promo-btn:focus-visible .promo-body {
  background: var(--yellow-hot);
}

.footer-inner {
  width: min(100% - 24px, var(--max));
  margin-inline: auto;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-bar);
  color: var(--yellow);
  font-size: 22px;
  cursor: pointer;
}

#menu-switch {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drawer {
  display: none;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 2px;
  padding: 6px 0 10px;
  justify-items: start;
}

.drawer .nav-item {
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  min-height: 0;
  padding: 5px 0;
  font-size: 13px;
}

#menu-switch:checked ~ .drawer {
  display: grid;
}

.stage {
  padding: 16px 0 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #04102c;
  aspect-ratio: 1171 / 352;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.hero-slide.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bullets {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
}

.hero-bullet {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.45;
  cursor: pointer;
  pointer-events: auto;
}

.hero-bullet.is-on {
  opacity: 1;
  transform: scale(1.15);
}

.cat-block {
  margin-top: 14px;
}

.cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--navy-bar);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cat-head svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.media-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: inherit;
}

.media-card img {
  width: 100%;
  aspect-ratio: 383 / 239;
  object-fit: cover;
}

.media-card:hover,
.media-card:focus-visible {
  text-decoration: none;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.page-banner,
.content-visual {
  display: block;
  margin: 16px 0 12px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #04102c;
}

.content-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.content-visual--sm {
  max-width: 560px;
}

.content-visual--sm img {
  aspect-ratio: 1275 / 652;
}

.content-visual--square {
  max-width: 400px;
}

.content-visual--square img {
  aspect-ratio: 1 / 1;
}

.content-visual--promo2 {
  max-width: 700px;
}

.content-visual--promo2 img {
  aspect-ratio: 1045 / 572;
}

.page-banner {
  margin-top: 16px;
}

.page-banner img {
  width: 100%;
  aspect-ratio: 1940 / 389;
  object-fit: cover;
}

.page-banner:hover,
.page-banner:focus-visible,
.content-visual[role="button"]:hover,
.content-visual[role="button"]:focus-visible {
  text-decoration: none;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.promo-shot--solo {
  max-width: 400px;
  margin-inline: 0;
}

.promo-visuals {
  display: grid;
  gap: 12px;
  margin: 8px 0 20px;
}

.promo-shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #04102c;
}

.promo-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-shot--square img {
  aspect-ratio: 1 / 1;
}

.promo-shot[role="button"]:hover,
.promo-shot[role="button"]:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.page-title {
  margin: 22px 0 16px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.2;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--quiet);
  font-size: 0.9rem;
}

.crumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--yellow);
}

.prose h2,
.section-title {
  margin: 28px 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.3;
}

.prose h3 {
  margin: 20px 0 10px;
  font-size: 1.1rem;
}

.prose p,
.lead {
  margin: 0 0 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.band {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: linear-gradient(120deg, var(--navy-mid), var(--navy));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-band {
  align-items: flex-start;
}

.auth-band .cta-row {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--ink);
}

table caption {
  caption-side: top;
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--yellow);
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(184, 196, 224, 0.12);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

th {
  background: var(--navy-mid);
  color: var(--yellow);
  font-weight: 700;
}

[role="button"][aria-label="spassinocasino-arialabel"] {
  cursor: pointer;
  outline: none;
  user-select: none;
}

[role="button"][aria-label="spassinocasino-arialabel"]:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.action-link,
.offer-reg-hero,
.offer-reg-end,
.offer-finish-reg,
.offer-play-home,
.offer-deposit-home,
.offer-my-bets,
.offer-claim-monthly,
.offer-claim-weekly,
.offer-claim-crypto,
.offer-claim-sports,
.offer-claim-nodeposit,
.offer-claim-tier,
.offer-claim-bday,
.offer-promo-reg,
.offer-promo-chat,
.offer-promo-login,
.offer-404-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 4px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: 0 4px 0 #c9a000;
}

.action-link:hover,
.offer-reg-hero:hover,
.offer-reg-end:hover,
.offer-finish-reg:hover,
.offer-play-home:hover,
.offer-promo-reg:hover,
.offer-404-play:hover {
  background: var(--yellow-hot);
  color: #111;
  text-decoration: none;
}

.offer-login-mid,
.offer-foot-support,
.offer-foot-withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--yellow);
  border-radius: 4px;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
}

.offer-recover-pass {
  display: inline-flex;
  color: var(--yellow);
  text-decoration: underline;
  font-weight: 700;
}

.offer-foot-terms,
.offer-foot-privacy,
.offer-foot-responsible,
.offer-foot-fair,
.offer-foot-security,
.offer-foot-about {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: rgb(5, 11, 28);
  border-top: 1px solid var(--line);
  padding: 28px 0 24px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
}

.trust-row img {
  height: 36px;
  width: auto;
}

.foot-legal,
.foot-copy {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.lost {
  padding: 48px 8px 24px;
  text-align: center;
}

.offer-chat {
  position: fixed;
  right: 16px;
  bottom: calc(var(--dock) + 16px);
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #6b3b1f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: var(--dock);
  background: rgba(5, 11, 28, 0.98);
  border-top: 1px solid var(--line);
}

.dock a,
.dock [role="button"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  clip-path: none;
  box-shadow: none;
  min-height: 0;
  padding: 6px 4px;
}

.dock a.is-current,
.dock a:hover {
  color: var(--yellow);
  text-decoration: none;
}

.dock img,
.dock svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 760px) {
  .offer-trustpilot,
  .login-fields {
    display: flex;
  }

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

  .band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .auth-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .shell {
    padding-bottom: 0;
  }

  .dock {
    display: none;
  }

  .offer-chat {
    bottom: 24px;
  }
}

@media (min-width: 1080px) {
  .offer-forgot {
    display: inline;
  }

  .menu-toggle,
  .drawer,
  #menu-switch:checked ~ .drawer {
    display: none;
  }

  body {
    background-attachment: fixed;
  }

  .nav-main {
    display: flex;
  }
}
