:root {
  --bg: #080d1d;
  --bg-soft: #0e1530;
  --surface: #121b38;
  --surface-2: #172242;
  --text: #f6f8ff;
  --muted: #a9b2ca;
  --line: rgba(255,255,255,.10);
  --green: #75e900;
  --green-2: #42bd00;
  --gold: #ffca45;
  --danger: #ff5b72;
  --shadow: 0 18px 55px rgba(0,0,0,.32);
  --radius: 22px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 5%, rgba(52,182,0,.10), transparent 28%),
    radial-gradient(circle at 15% 30%, rgba(21,94,255,.10), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding: 86px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 99px; background: currentColor; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-head__copy { max-width: 760px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.8vw, 5.4rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 16px; }
h3 { font-size: 1.22rem; }
.lead { max-width: 700px; color: #d4daea; font-size: clamp(1.03rem, 1.7vw, 1.2rem); }
.muted { color: var(--muted); }

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8,13,29,.82);
  backdrop-filter: blur(18px);
}
.header__inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img { width: 178px; height: auto; }
.nav { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.nav a { padding: 10px 13px; color: #c9d0e2; border-radius: 12px; font-weight: 700; font-size: .93rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.065); }
.header__actions { display: flex; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 5px; background: currentColor; transition: .25s ease; }
.menu-toggle.is-open span { opacity: 0; }
.menu-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 850; transition: transform .2s ease, filter .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--primary { color: #081204; background: linear-gradient(135deg, var(--green), #a2ff3f); box-shadow: 0 10px 28px rgba(117,233,0,.18); }
.btn--ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.055); }
.btn--small { min-height: 40px; padding-inline: 16px; font-size: .9rem; }
.btn--wide { width: 100%; }

.hero { position: relative; overflow: hidden; padding: 72px 0 52px; }
.hero::before { content: ""; position: absolute; inset: auto -20% -45% 10%; height: 520px; background: radial-gradient(circle, rgba(117,233,0,.14), transparent 65%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.hero__copy { position: relative; z-index: 2; }
.hero__title-accent { color: var(--green); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #d9dfec; background: rgba(255,255,255,.04); font-size: .87rem; font-weight: 750; }
.chip::before { content: "✓"; color: var(--green); font-weight: 900; }
.hero__visual { position: relative; min-height: 470px; border: 1px solid var(--line); border-radius: 34px; overflow: hidden; background: #11182f; box-shadow: var(--shadow); }
.hero__visual img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: center; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,9,20,.28), transparent 55%); pointer-events: none; }
.hero__badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; max-width: 250px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(8,13,29,.74); backdrop-filter: blur(13px); }
.hero__badge strong { display: block; margin-bottom: 2px; color: var(--green); font-size: 1.05rem; }
.hero__badge span { color: #d4daea; font-size: .88rem; }

.quick-nav { padding: 16px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.025); }
.quick-nav__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quick-link { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-radius: 15px; color: #d7ddec; background: rgba(255,255,255,.035); font-weight: 750; }
.quick-link:hover { background: rgba(117,233,0,.09); color: #fff; }
.quick-link__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: rgba(117,233,0,.12); color: var(--green); }

.bonus-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 18px; }
.bonus-card { position: relative; min-height: 280px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.bonus-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.bonus-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,8,19,.92), rgba(4,8,19,.20) 75%); }
.bonus-card__content { position: absolute; z-index: 2; inset: auto 24px 23px; max-width: 310px; }
.bonus-card__tag { display: inline-flex; margin-bottom: 9px; padding: 5px 9px; border-radius: 999px; color: #071001; background: var(--green); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.bonus-card h3 { margin-bottom: 7px; font-size: 1.55rem; }
.bonus-card p { margin-bottom: 14px; color: #cdd4e4; font-size: .9rem; }
.bonus-card--small::after { background: linear-gradient(180deg, rgba(4,8,19,.02), rgba(4,8,19,.94)); }
.bonus-card--small .bonus-card__content { inset: auto 18px 17px; }
.bonus-card--small h3 { font-size: 1.15rem; }

.game-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; color: #cbd2e2; background: rgba(255,255,255,.035); font-weight: 800; }
.filter-btn:hover, .filter-btn.is-active { color: #081204; border-color: var(--green); background: var(--green); }
.search { position: relative; width: min(100%, 310px); }
.search input { width: 100%; height: 44px; padding: 0 16px 0 43px; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); outline: none; }
.search input:focus { border-color: rgba(117,233,0,.7); box-shadow: 0 0 0 3px rgba(117,233,0,.08); }
.search::before { content: "⌕"; position: absolute; left: 15px; top: 7px; color: var(--muted); font-size: 1.35rem; }
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.game-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); transition: transform .24s ease, border-color .24s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(117,233,0,.45); }
.game-card[hidden] { display: none; }
.game-card__image { aspect-ratio: 1 / 1; overflow: hidden; background: #0e1428; }
.game-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover img { transform: scale(1.045); }
.game-card__body { padding: 13px 13px 14px; }
.game-card__name { min-height: 42px; margin: 0 0 7px; font-size: .92rem; font-weight: 850; line-height: 1.25; }
.game-card__meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .73rem; }
.game-card__play { position: absolute; inset: 12px 12px auto auto; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; opacity: 0; transform: scale(.8); color: #071001; background: var(--green); transition: .25s ease; }
.game-card:hover .game-card__play { opacity: 1; transform: scale(1); }
.empty-state { display: none; padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; }
.empty-state.is-visible { display: block; }

.mobile-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; }
.device-board { position: relative; min-height: 520px; }
.device { position: absolute; overflow: hidden; border: 8px solid #202a48; background: #0c1327; box-shadow: var(--shadow); }
.device--desktop { inset: 30px 0 86px 30px; border-radius: 23px; }
.device--phone { right: 7%; bottom: 0; width: 185px; height: 385px; z-index: 3; border-radius: 32px; border-width: 7px; }
.device__top { height: 28px; background: #0c1327; border-bottom: 1px solid var(--line); }
.device--phone .device__top { width: 75px; height: 18px; margin: 0 auto; border-radius: 0 0 13px 13px; background: #202a48; }
.device__screen { height: calc(100% - 28px); padding: 14px; background: linear-gradient(180deg, #101937, #080d1d); }
.device--phone .device__screen { height: calc(100% - 18px); padding: 10px; }
.mini-hero { height: 46%; border-radius: 14px; background: url('../images/bonus-dragon.webp') center/cover; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.mini-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 9px; }
.device--phone .mini-hero { height: 35%; }
.device--phone .mini-grid { grid-template-columns: repeat(2,1fr); gap: 6px; }
.feature-list { display: grid; gap: 15px; margin: 30px 0; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--green); background: rgba(117,233,0,.10); font-size: 1.2rem; }
.feature strong { display: block; margin: 1px 0 3px; }
.feature span { color: var(--muted); font-size: .94rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; overflow: hidden; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.step::after { content: "0" counter(step); position: absolute; right: 17px; top: 5px; color: rgba(255,255,255,.04); font-size: 5rem; font-weight: 950; line-height: 1; }
.step__icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 15px; color: #081204; background: var(--green); font-size: 1.25rem; font-weight: 900; }
.step p { margin: 0; color: var(--muted); }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.info-card p:last-child { margin-bottom: 0; }

.faq { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 0; color: var(--text); background: transparent; text-align: left; font-weight: 850; }
.faq-question::after { content: "+"; flex: 0 0 auto; color: var(--green); font-size: 1.35rem; transition: transform .2s ease; }
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.cta { position: relative; overflow: hidden; padding: 48px; border: 1px solid rgba(117,233,0,.28); border-radius: 28px; background: linear-gradient(125deg, rgba(117,233,0,.15), rgba(20,30,61,.9)); }
.cta::after { content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(117,233,0,.22), transparent 68%); }
.cta__inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { max-width: 720px; margin-bottom: 8px; }
.cta p { margin: 0; color: #cdd4e3; }

.page-hero { padding: 72px 0 54px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 10%, rgba(117,233,0,.13), transparent 30%); }
.page-hero__inner { max-width: 820px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: .88rem; }
.breadcrumbs a:hover { color: var(--green); }
.legal { max-width: 880px; }
.legal h2 { margin-top: 44px; font-size: 1.75rem; }
.legal h3 { margin-top: 28px; font-size: 1.18rem; }
.legal p, .legal li { color: #c6cede; }
.legal ul { padding-left: 20px; }
.notice { padding: 18px 20px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: rgba(117,233,0,.07); color: #d9e1ef; }

.footer { padding: 58px 0 24px; border-top: 1px solid var(--line); background: #060a17; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer__brand img { width: 180px; margin-bottom: 18px; }
.footer__brand p { max-width: 380px; color: var(--muted); font-size: .9rem; }
.footer h3 { margin-bottom: 14px; font-size: .95rem; letter-spacing: 0; }
.footer__links { display: grid; gap: 9px; }
.footer__links a { color: var(--muted); font-size: .9rem; }
.footer__links a:hover { color: var(--green); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #808aa3; font-size: .82rem; }
.age-badge { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--danger); border-radius: 50%; color: var(--danger); font-weight: 900; }

.cookie { position: fixed; z-index: 80; right: 18px; bottom: 18px; width: min(430px, calc(100% - 36px)); padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(14,21,48,.97); box-shadow: var(--shadow); }
.cookie p { margin: 0 0 13px; color: #cbd2e2; font-size: .86rem; }
.cookie__actions { display: flex; gap: 8px; }
.cookie.is-hidden { display: none; }

@media (max-width: 1100px) {
  .nav { position: fixed; inset: 77px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(11,17,37,.98); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 15px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header__actions .btn--ghost { display: none; }
  .hero__grid, .mobile-layout { gap: 34px; }
  .games-grid { grid-template-columns: repeat(5, 1fr); }
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .bonus-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .hero { padding-top: 52px; }
  .hero__grid, .mobile-layout { grid-template-columns: 1fr; }
  .hero__visual { min-height: 390px; }
  .hero__visual img { min-height: 390px; }
  .quick-nav__inner { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: repeat(4, 1fr); }
  .device-board { order: 2; }
  .steps, .content-grid { grid-template-columns: 1fr; }
  .cta__inner { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .header__inner { min-height: 68px; gap: 10px; }
  .logo img { width: 145px; }
  .nav { inset-top: 69px; }
  .header__actions .btn--primary { display: none; }
  .hero { padding-top: 38px; }
  h1 { font-size: 2.65rem; }
  .hero__visual, .hero__visual img { min-height: 320px; }
  .hero__visual { border-radius: 23px; }
  .hero__visual img { object-position: 62% center; }
  .hero__badge { left: 15px; right: 15px; bottom: 15px; max-width: none; }
  .quick-nav__inner { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .bonus-grid { grid-template-columns: 1fr; }
  .bonus-card:first-child { grid-column: auto; }
  .bonus-card, .bonus-card img { min-height: 250px; }
  .game-controls { align-items: stretch; flex-direction: column; }
  .filter-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-btn { flex: 0 0 auto; }
  .search { width: 100%; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .game-card__body { padding: 11px; }
  .game-card__name { font-size: .84rem; }
  .device-board { min-height: 430px; }
  .device--desktop { inset: 20px 0 70px 0; }
  .device--phone { right: 3%; width: 145px; height: 305px; }
  .mini-grid { grid-template-columns: repeat(3,1fr); }
  .cta { padding: 30px 23px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
}
