﻿:root {
  --bg: #061322;
  --bg-deep: #020711;
  --panel: #102436;
  --panel-2: #18354a;
  --gold: #f3c55d;
  --gold-2: #d39124;
  --cyan: #12c6d0;
  --cyan-soft: rgba(18, 198, 208, .18);
  --cream: #fff3d1;
  --text: #f7fbff;
  --muted: #abc2cf;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 20px 60px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(18, 198, 208, .16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(243, 197, 93, .13), transparent 26%),
    linear-gradient(180deg, #071321 0%, #030914 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { margin-bottom: 14px; font-size: clamp(2.35rem, 6vw, 5.2rem); }
h2 { margin-bottom: 12px; font-size: clamp(1.65rem, 3.2vw, 3rem); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  display: grid;
  grid-template-columns: 48px 210px minmax(180px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  background: linear-gradient(180deg, rgba(8, 20, 34, .96), rgba(3, 9, 18, .94));
  border-bottom: 1px solid rgba(243, 197, 93, .26);
  box-shadow: 0 10px 28px rgba(0,0,0,.36);
  backdrop-filter: blur(14px);
}
.brand img { width: 196px; height: 52px; object-fit: contain; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(243,197,93,.36);
  border-radius: 10px;
  color: var(--gold);
  background: rgba(18,198,208,.08);
}
.icon-btn span { width: 20px; height: 2px; background: var(--gold); border-radius: 5px; }
.search {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 470px;
  justify-self: end;
  width: 100%;
  padding: 0 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(243,197,93,.3);
  border-radius: 12px;
}
.search span { color: var(--gold); font-size: 1.3rem; }
.search input {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}
.search input::placeholder { color: #b4a98e; }
.topbar-actions { display: flex; gap: 10px; }
.cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: #180f03;
  background: linear-gradient(180deg, #ffe087, var(--gold-2));
  border: 1px solid #ffe39b;
  border-radius: 11px;
  box-shadow: inset 0 1px rgba(255,255,255,.5), 0 6px 0 #76460e, 0 16px 28px rgba(0,0,0,.28);
  font-weight: 950;
  text-transform: uppercase;
}
.cta:hover { transform: translateY(-1px); }
.cta-ghost {
  color: var(--cream);
  background: rgba(255,255,255,.05);
  border-color: rgba(243,197,93,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 6px 0 rgba(0,0,0,.25);
}
.cta-large { min-height: 54px; padding-inline: 28px; }

.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 72px); }
.sidebar {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow: auto;
  padding: 14px 12px;
  background: linear-gradient(180deg, #0b1d2b, #050d16);
  border-right: 1px solid rgba(243,197,93,.22);
}
.mini-bonuses { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mini-bonuses button {
  min-height: 104px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 12px;
  color: var(--cream);
  background: linear-gradient(145deg, rgba(243,197,93,.15), rgba(18,198,208,.08));
  border: 1px solid rgba(243,197,93,.3);
  border-radius: 12px;
}
.mini-bonuses span { font-size: 1.5rem; }
.mini-bonuses b { margin-top: 8px; }
.mini-bonuses small { color: var(--muted); font-size: .72rem; }
.side-nav { display: grid; gap: 4px; }
.side-nav a {
  padding: 13px 12px;
  color: #eadfc0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 9px;
  font-weight: 800;
}
.side-nav a:hover { background: var(--cyan-soft); color: white; }
.support-tile {
  margin-top: 22px;
  padding: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.support-tile strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.main { min-width: 0; padding: 0 18px 30px; }
.category-rail {
  position: sticky;
  top: 72px;
  z-index: 35;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 6px;
  background: rgba(6, 19, 34, .88);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-rail a {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: #e6d6aa;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}
.category-rail a.active,
.category-rail a:hover {
  color: white;
  background: rgba(18,198,208,.15);
  border-color: rgba(18,198,208,.45);
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: 22px;
  align-items: stretch;
  padding: 22px 0 18px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 46px);
  background:
    linear-gradient(145deg, rgba(16,36,54,.92), rgba(3,9,18,.9)),
    radial-gradient(circle at top right, rgba(18,198,208,.18), transparent 38%);
  border: 1px solid rgba(243,197,93,.22);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-copy p { max-width: 620px; color: #d7e4e9; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.hero-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #071522;
  border: 1px solid rgba(243,197,93,.28);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hero-card > img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,7,17,.65), transparent 42%, rgba(2,7,17,.15));
}
.hero-bonus {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;
  width: min(430px, calc(100% - 48px));
  padding: 18px;
  background: rgba(3, 9, 18, .78);
  border: 1px solid rgba(243,197,93,.45);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}
.hero-bonus span { color: var(--cyan); font-weight: 900; text-transform: uppercase; font-size: .74rem; }
.hero-bonus strong { display: block; margin: 6px 0 12px; color: var(--gold); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.05; }
.hero-bonus button,
.banner-split button,
.promo-main button {
  padding: 9px 16px;
  color: #170f04;
  background: var(--gold);
  border: 0;
  border-radius: 9px;
  font-weight: 950;
}

.section-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 16px;
}
.section-bar h2 { margin: 0; }
.section-bar a,
.text-link {
  color: var(--gold);
  background: transparent;
  border: 0;
  font-weight: 950;
  text-transform: uppercase;
}
.section-bar span { font-size: 1.25rem; }

.ranking,
.games-section,
.promo-stage,
.payments,
.article-zone,
.faq,
.footer { margin-top: 24px; }
.rank-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.rank-row article {
  position: relative;
  min-width: 180px;
  overflow: hidden;
  background: #06101e;
  border: 1px solid rgba(243,197,93,.34);
  border-radius: 14px;
}
.rank-row b {
  position: absolute;
  left: 10px;
  bottom: 4px;
  z-index: 2;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
  text-shadow: 0 3px 0 #5a3200;
}
.rank-row img { width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; }
.rank-row span {
  display: block;
  padding: 7px 10px 8px 54px;
  color: var(--gold);
  background: #071326;
  font-weight: 950;
}

.promo-stage {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #061534, #020817);
  border: 1px solid rgba(18,198,208,.25);
  border-radius: 16px;
}
.promo-main {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(243,197,93,.25), transparent 35%),
    linear-gradient(145deg, rgba(20,49,75,.95), rgba(5,15,31,.95));
  border: 1px solid rgba(243,197,93,.34);
  border-radius: 14px;
}
.promo-main span { color: var(--cyan); font-weight: 900; text-transform: uppercase; }
.promo-main strong { color: var(--gold); font-size: clamp(2.1rem, 4.6vw, 4.6rem); line-height: .95; }
.promo-main p { color: var(--muted); }
.promo-main .cta { align-self: start; }
.promo-games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.promo-games img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: #081827;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.game-card {
  position: relative;
  min-width: 0;
  padding: 0 0 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #10293e, #071321);
  border: 1px solid rgba(243,197,93,.25);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,.26);
}
.game-card.more { display: none; }
.games-grid.expanded .game-card.more { display: block; }
.game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.game-card button {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -34%);
  opacity: 0;
  padding: 8px 16px;
  color: #160f04;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  transition: .2s ease;
}
.game-card::after {
  content: "";
  position: absolute;
  inset: 0 0 58px;
  opacity: 0;
  background: rgba(2,7,17,.56);
  transition: .2s ease;
}
.game-card:hover::after,
.game-card:focus-within::after { opacity: 1; }
.game-card:hover button,
.game-card:focus-within button { opacity: 1; transform: translate(-50%, -50%); z-index: 3; }
.game-card strong,
.game-card small { display: block; padding-inline: 10px; }
.game-card strong { margin-top: 9px; color: var(--cream); font-size: .9rem; }
.game-card small { color: var(--muted); font-size: .72rem; }

.banner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.banner-split article {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(243,197,93,.28);
  border-radius: 16px;
}
.banner-split img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.banner-split article::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,7,17,.86), rgba(2,7,17,.25)); }
.banner-split div { position: absolute; z-index: 2; inset: auto 20px 20px; max-width: 440px; }
.banner-split span { color: var(--cyan); font-weight: 900; text-transform: uppercase; }
.banner-split strong { display: block; margin: 6px 0 14px; color: var(--cream); font-size: 1.65rem; line-height: 1.08; }

.payments {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 30px;
  background: linear-gradient(145deg, rgba(16,36,54,.95), rgba(4,12,23,.95));
  border: 1px solid rgba(18,198,208,.28);
  border-radius: 16px;
}
.payments p { color: var(--muted); }
.payment-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.payment-wall img,
.payment-strip img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  padding: 10px;
  background: #edf4f7;
  border-radius: 10px;
}

.article-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.article-zone article,
.deep-guide,
.faq details {
  padding: 28px;
  background: rgba(255,255,255,.95);
  color: #071321;
  border: 1px solid rgba(18,198,208,.24);
  border-radius: 16px;
}
.article-zone .eyebrow,
.deep-guide .eyebrow { color: #007c86; }
.article-zone p,
.deep-guide p { color: #334b5b; }
.deep-guide { margin-top: 18px; }
.guide-head { max-width: 960px; margin-bottom: 22px; }
.guide-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.guide-layout article {
  padding: 22px;
  background: #f5fbfd;
  border: 1px solid rgba(0,124,134,.16);
  border-radius: 14px;
}
.guide-layout h3 { margin-bottom: 10px; color: #061322; font-size: 1.2rem; }
.guide-layout p:last-child { margin-bottom: 0; }
.guide-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid rgba(0,124,134,.2);
  border-radius: 14px;
}
.guide-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: white;
}
.guide-table th,
.guide-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(6,19,34,.12);
}
.guide-table th {
  color: #061322;
  background: #dff6f7;
  font-size: .78rem;
  text-transform: uppercase;
}
.guide-table tr:last-child td { border-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq .section-bar { margin-bottom: 4px; }
.faq details { padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 950; }
.faq p { margin: 12px 0 0; color: #334b5b; }

.footer {
  display: grid;
  grid-template-columns: 220px 1fr 340px;
  gap: 22px;
  align-items: center;
  padding: 28px 0 10px;
  border-top: 1px solid rgba(243,197,93,.22);
}
.footer > img { width: 190px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--cream); font-weight: 800; }
.payment-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.responsible-logos {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
}
.responsible-logos img {
  width: auto;
  height: 32px;
  max-width: 150px;
  object-fit: contain;
  padding: 4px 8px;
  border-radius: 8px;
}
.footer p { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    z-index: 80;
    inset: 72px auto 0 0;
    width: min(310px, 86vw);
    transform: translateX(-105%);
    transition: transform .25s ease;
  }
  body.menu-open .sidebar { transform: translateX(0); }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .topbar { grid-template-columns: 48px 170px 1fr auto; }
}

@media (max-width: 820px) {
  .topbar {
    height: auto;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
  }
  .brand img { width: 150px; height: 44px; }
  .search { grid-column: 1 / -1; order: 4; max-width: none; }
  .topbar-actions { gap: 6px; }
  .topbar-actions .cta { min-height: 38px; padding: 8px 11px; font-size: .76rem; }
  .app-shell { min-height: calc(100vh - 120px); }
  .sidebar { top: 110px; height: calc(100vh - 110px); }
  .category-rail { top: 110px; }
  .main { padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 24px; }
  .hero-card { min-height: 320px; }
  .rank-row { grid-template-columns: repeat(5, 170px); }
  .promo-stage,
  .payments,
  .article-zone,
  .guide-layout,
  .banner-split,
  .footer { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .payment-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .topbar-actions { grid-column: 1 / -1; width: 100%; }
  .topbar-actions .cta { flex: 1; }
  h1 { font-size: 2.35rem; }
  .hero-copy p { font-size: .95rem; }
  .hero-card { min-height: 280px; }
  .hero-bonus { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .hero-bonus strong { font-size: 1.45rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-games { grid-template-columns: repeat(2, 1fr); }
  .article-zone article,
  .faq details,
  .payments { padding: 20px; }
  .payment-strip { grid-template-columns: repeat(2, 1fr); }
  .responsible-logos { justify-content: center; }
  .responsible-logos img { height: 28px; max-width: 132px; }
}

