:root {
  --page-bg: #0c101d;
  --panel-bg: #132648;
  --panel-soft: #172d52;
  --panel-deep: #071226;
  --line: #22375d;
  --line-soft: #2c436f;
  --text: #eef1f6;
  --muted: #9ba7ca;
  --gold: #ffc633;
  --gold-soft: #f5d98b;
  --green: #35bd52;
  --green-dark: #1d790b;
  --shadow: 0 12px 28px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(38, 71, 123, .34), transparent 34rem),
    var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

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

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

button {
  border: 0;
  font: inherit;
}

.page {
  width: min(100%, 1100px);
  margin: 0 auto;
  background: var(--panel-bg);
  box-shadow: 0 0 0 1px rgba(34, 55, 93, .55), 0 0 80px rgba(0, 0, 0, .35);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(19, 38, 72, .98), rgba(19, 38, 72, .86));
  border-bottom: 1px solid rgba(54, 79, 125, .8);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 14px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  background: #22375d;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(155, 167, 202, .04);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 20px 0;
}

.main-nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-soft), #8b6500);
  vertical-align: 1px;
}

.brand {
  justify-self: center;
  display: block;
  width: 62px;
  height: 60px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bonus-chip {
  display: grid;
  gap: 1px;
  min-width: 142px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #0c1830;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.bonus-chip small {
  color: var(--muted);
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 19px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

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

.button--green {
  color: #eef1f6;
  background: linear-gradient(180deg, #33c600, #206400);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .28);
}

.button--outline {
  color: var(--muted);
  border: 2px solid var(--green);
  background: transparent;
}

.button--outline:hover {
  color: var(--text);
  border-color: #67ce7d;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #0e1b34;
}

.mobile-drawer a {
  display: block;
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(34, 55, 93, .75);
}

.hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background: #08101f;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 31, .38), rgba(8, 16, 31, .05) 48%, rgba(8, 16, 31, .42)),
    url("./lev-casino/b8ac6e326463b51c215e7020075eab1a082ca399.webp") center / cover no-repeat;
  opacity: .94;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 410px;
  align-items: center;
  gap: 22px;
  min-height: 310px;
  padding: 54px 70px 44px;
}

.hero__copy {
  max-width: 440px;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 37px;
  line-height: 1.04;
  font-weight: 900;
}

.hero__button {
  min-width: 136px;
  min-height: 34px;
  font-size: 13px;
  text-transform: none;
}

.hero__visual {
  justify-self: center;
  width: min(100%, 378px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .32));
}

.hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.casino-floor {
  background: var(--panel-bg);
  padding: 0 14px 26px;
}

.category-strip {
  display: flex;
  overflow-x: auto;
  border: 1px solid #162744;
  border-right: 0;
  border-left: 0;
  background: #0f1f3b;
  scrollbar-width: thin;
  scrollbar-color: var(--line-soft) transparent;
}

.category-strip__item {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 18px;
  border-right: 1px solid #08152b;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.category-strip__item.is-active,
.category-strip__item:hover {
  color: var(--text);
  background: #152849;
}

.category-strip__item--icon,
.category-strip__item--star {
  position: relative;
  width: 52px;
  padding: 0;
}

.category-strip__item--icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 50%;
  transform: translate(-60%, -60%);
}

.category-strip__item--icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(3px, 7px) rotate(45deg);
  transform-origin: left center;
}

.category-strip__item--star::before,
.game-card > button::before {
  content: "★";
  color: #9ba7ca;
  font-size: 18px;
  line-height: 1;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #22375d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.game-card a {
  display: grid;
  grid-template-rows: auto 34px;
  min-height: 100%;
}

.game-card a > img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
}

.game-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
}

.provider {
  position: absolute;
  top: 4px;
  right: 27px;
  max-width: 58px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 2px;
  background: rgba(15, 31, 59, .72);
  border-radius: 3px;
}

.provider img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.game-card > button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: rgba(34, 55, 93, .88);
  cursor: pointer;
}

.game-card--top::after {
  content: "ТОП";
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 3px 8px;
  border-radius: 3px;
  color: #172300;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.all-games {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

.all-games a,
.activity footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 22px;
  border: 2px solid var(--green);
  border-radius: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.game-intro {
  padding: 20px 28px 24px;
  text-align: center;
}

.game-intro h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 30px;
  line-height: 1.1;
}

.game-intro p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.winners {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: stretch;
  background: #22375d;
  border-top: 1px solid #2e4774;
  border-bottom: 1px solid #2e4774;
}

.winners h2 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  color: #cdd6f1;
  font-size: 22px;
  line-height: 1;
}

.winners__track {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 8px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-soft) transparent;
}

.winner {
  display: grid;
  grid-template-columns: 56px minmax(70px, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  align-items: center;
  flex: 0 0 154px;
  color: var(--text);
}

.winner img {
  grid-row: 1 / 4;
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.winner span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.winner small {
  color: var(--muted);
  font-size: 12px;
}

.winner b {
  color: var(--gold);
  font-size: 12px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 26px 14px 28px;
}

.activity {
  overflow: hidden;
  border-radius: 7px;
  background: #021e31;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.activity h2 {
  margin: 0;
  padding: 12px 10px;
  background: #22375d;
  color: #eef1f6;
  font-size: 21px;
  line-height: 1;
  text-align: center;
}

.activity > a img {
  width: 100%;
  aspect-ratio: 2.05 / 1;
  object-fit: cover;
}

.activity footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 14px;
  background: #22375d;
}

.activity footer span {
  color: #eef1f6;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.activity footer small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.seo-content {
  padding: 18px 18px 34px;
  color: #b8c4e4;
  font-size: 12px;
  line-height: 1.5;
}

.seo-content h1,
.seo-content h2 {
  margin: 18px 0 8px;
  color: #eef1f6;
  line-height: 1.22;
}

.seo-content h1 {
  margin-top: 0;
  font-size: 18px;
}

.seo-content h2 {
  font-size: 16px;
}

.seo-content p {
  margin: 0 0 11px;
}

.seo-content ul,
.seo-content ol {
  margin: 0 0 12px 20px;
  padding: 0;
}

.seo-content li {
  margin: 2px 0;
}

.table-wrap {
  width: 100%;
  margin: 10px 0 14px;
  overflow-x: auto;
}

.seo-content table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: #c7d1ed;
  background: #112340;
}

.seo-content th,
.seo-content td {
  padding: 8px 10px;
  border: 1px solid #2a416d;
  text-align: left;
  vertical-align: top;
}

.seo-content th {
  color: #eef1f6;
  background: #1d345b;
}

.site-footer {
  padding: 22px 14px 26px;
  background: #0c101d;
  color: var(--muted);
}

.trust-row {
  display: flex;
  gap: 22px;
  min-height: 42px;
  margin: 0 0 22px;
  padding: 8px 12px;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-row li {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.trust-row img {
  max-width: 86px;
  max-height: 18px;
  opacity: .68;
  object-fit: contain;
  filter: grayscale(20%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-brand span {
  display: grid;
}

.footer-brand b {
  color: #eef1f6;
  font-size: 14px;
}

.footer-brand small {
  color: var(--muted);
  font-size: 12px;
}

.social-links,
.footer-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}

.social-links a,
.footer-menu a {
  color: var(--muted);
  font-size: 12px;
}

.social-links a:hover,
.footer-menu a:hover {
  color: var(--text);
}

.footer-menu {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 980px) {
  .topbar__inner {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .bonus-chip {
    display: none;
  }

  .brand {
    grid-column: 2;
  }

  .topbar__actions {
    grid-column: 3;
  }

  .topbar__actions .button--green {
    display: none;
  }

  .mobile-drawer.is-open {
    display: block;
  }

  .hero__content {
    grid-template-columns: 1fr 320px;
    padding: 48px 32px 40px;
  }

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

@media (max-width: 740px) {
  body {
    background: var(--page-bg);
  }

  .page {
    width: 100%;
    box-shadow: none;
  }

  .topbar__inner {
    min-height: 60px;
    padding: 0 10px;
  }

  .brand {
    width: 72px;
    height: 60px;
  }

  .topbar__actions .button--outline {
    position: relative;
    width: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 0;
    border-radius: 50%;
  }

  .topbar__actions .button--outline::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 14px;
    height: 18px;
    border: 2px solid currentColor;
    border-left: 0;
    border-radius: 2px;
    transform: translateY(-50%);
  }

  .topbar__actions .button--outline::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 18px;
    height: 14px;
    background: currentColor;
    transform: translateY(-50%);
    clip-path: polygon(0 42%, 10px 42%, 10px 22%, 18px 50%, 10px 78%, 10px 58%, 0 58%);
  }

  .hero {
    min-height: 482px;
  }

  .hero__content {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 16px;
    min-height: 482px;
    padding: 34px 18px 34px;
    text-align: center;
  }

  .hero__visual {
    width: clamp(148px, 42vw, 210px);
    margin: 0;
  }

  .hero__copy {
    display: grid;
    justify-items: center;
  }

  .eyebrow {
    font-size: 26px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero__button {
    min-width: min(240px, 72vw);
    min-height: 48px;
    font-size: 18px;
    border-radius: 24px;
  }

  .casino-floor {
    padding: 0 8px 22px;
  }

  .category-strip {
    margin: 0 -8px;
  }

  .category-strip__item {
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 18px;
  }

  .game-card strong {
    min-height: 38px;
    font-size: 14px;
  }

  .game-card a {
    grid-template-rows: auto 40px;
  }

  .provider {
    right: 32px;
    height: 20px;
  }

  .game-card > button {
    width: 26px;
    height: 26px;
  }

  .game-intro {
    padding: 22px 18px;
  }

  .game-intro h2 {
    font-size: 25px;
  }

  .game-intro p {
    font-size: 16px;
    line-height: 1.25;
  }

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

  .winners h2 {
    font-size: 18px;
    padding: 10px 14px 0;
  }

  .activity-grid {
    grid-template-columns: 1fr;
    padding: 22px 10px;
  }

  .seo-content {
    padding: 18px 12px 32px;
    font-size: 12px;
  }

  .footer-main,
  .social-links,
  .footer-menu {
    grid-template-columns: 1fr;
  }

  .trust-row {
    overflow-x: auto;
  }
}

@media (max-width: 380px) {
  .eyebrow {
    font-size: 23px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .category-strip__item {
    font-size: 13px;
  }

  .game-card strong {
    font-size: 12px;
  }
}
