:root {
  --bg: #07100e;
  --surface: #0d1916;
  --surface-2: #12231e;
  --surface-3: #172c25;
  --line: rgba(213, 235, 227, .11);
  --text: #f4f8f6;
  --muted: #96aaa2;
  --green: #48e39a;
  --green-dark: #18b873;
  --lime: #c8f36c;
  --gold: #e3bf65;
  --danger: #ff837c;
  --sidebar: 236px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 0%, rgba(39, 168, 111, .12), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

::selection { color: #06100d; background: var(--green); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #07100e;
  background: var(--green);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar);
  padding: 26px 18px 20px;
  overflow-y: auto;
  flex-direction: column;
  background: rgba(8, 19, 16, .94);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 8px 24px;
  border-bottom: 1px solid var(--line);
}

.brand__mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 0 18px rgba(72, 227, 154, .35));
}

.brand__logo {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .18em;
}

.brand__tag {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sidebar__section, .sidebar__links { margin-top: 22px; }

.sidebar__section-title {
  margin: 0 10px 8px;
  color: #61766d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sidebar__button, .sidebar__links a {
  position: relative;
  display: block;
  margin: 3px 0;
  padding: 9px 11px;
  color: #a9bbb4;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .87rem;
  font-weight: 650;
  transition: .2s ease;
}

.sidebar__button:hover, .sidebar__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.sidebar__button.active {
  color: #dcfff0;
  background: linear-gradient(90deg, rgba(72, 227, 154, .18), rgba(72, 227, 154, .03));
  border-color: rgba(72, 227, 154, .18);
}

.sidebar__button.active::before {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 3px;
  height: 18px;
  background: var(--green);
  border-radius: 5px;
  box-shadow: 0 0 14px var(--green);
  content: "";
  transform: translateY(-50%);
}

.sidebar__pill {
  display: flex;
  margin-top: auto;
  padding: 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff2bb;
  background: linear-gradient(135deg, rgba(227, 191, 101, .18), rgba(227, 191, 101, .04));
  border: 1px solid rgba(227, 191, 101, .24);
  border-radius: 13px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sidebar__pill span { color: var(--gold); }

.main { margin-left: var(--sidebar); }

.top-bar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  min-height: 76px;
  padding: 14px clamp(20px, 3.5vw, 52px);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(7, 16, 14, .76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.search {
  display: flex;
  width: min(390px, 40vw);
  padding: 0 15px;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.search svg {
  width: 18px;
  fill: none;
  stroke: #789087;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search input {
  width: 100%;
  height: 42px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.search input::placeholder { color: #61766d; }
.search:focus-within { border-color: rgba(72, 227, 154, .45); }

.top-bar__actions { display: flex; align-items: center; gap: 10px; }

.balance {
  min-width: 74px;
  padding-right: 16px;
  text-align: right;
  border-right: 1px solid var(--line);
}

.balance span { font-size: .9rem; font-weight: 800; }
.balance p { margin: 0; color: var(--muted); font-size: .66rem; line-height: 1.1; }

.btn {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover { border-color: rgba(72, 227, 154, .4); transform: translateY(-2px); }
.btn--accent, .btn--primary { color: #06100d; background: var(--green); border-color: var(--green); box-shadow: 0 8px 25px rgba(72, 227, 154, .18); }
.btn--accent:hover, .btn--primary:hover { background: #6cedaa; border-color: #6cedaa; }
.btn--ghost { background: rgba(255, 255, 255, .025); }
.btn--glass { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .13); backdrop-filter: blur(8px); }

.hero {
  position: relative;
  display: grid;
  min-height: 450px;
  margin: clamp(20px, 3.5vw, 52px) clamp(20px, 3.5vw, 52px) 0;
  overflow: hidden;
  grid-template-columns: minmax(360px, .9fr) 1.35fr;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(95deg, rgba(10, 31, 24, .97) 4%, rgba(11, 43, 31, .9) 43%, rgba(12, 47, 35, .25) 72%),
    radial-gradient(circle at 75% 35%, rgba(72, 227, 154, .16), transparent 40%),
    #0b211a;
  border: 1px solid rgba(102, 224, 166, .16);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero__content { z-index: 2; padding: clamp(32px, 5vw, 68px); padding-right: 0; }

.eyebrow, .content-kicker {
  color: var(--green);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow { display: flex; margin: 0 0 16px; align-items: center; gap: 8px; }
.eyebrow span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px var(--green); }

.hero h2 {
  max-width: 580px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.hero h2 em { color: var(--lime); font-style: normal; }
.hero__content > p:not(.eyebrow, .hero__note) { max-width: 510px; margin: 22px 0 0; color: #adc4bb; font-size: 1rem; line-height: 1.65; }
.hero__actions { display: flex; margin-top: 28px; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { min-height: 48px; padding-inline: 23px; }
.hero__note { display: flex; margin: 22px 0 0; align-items: center; gap: 9px; color: #81968d; font-size: .72rem; }
.hero__note span { display: inline-grid; width: 28px; height: 28px; place-items: center; color: #d6e4df; border: 1px solid var(--line); border-radius: 50%; font-size: .62rem; font-weight: 800; }

.hero__visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.86) contrast(1.08); }
.hero__visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,27,21,.99) 0%, rgba(8,27,21,.9) 38%, rgba(8,27,21,.12) 76%); content: ""; }

.content-section { width: min(1120px, calc(100% - clamp(40px, 7vw, 104px))); margin: 74px auto 0; padding-bottom: 78px; }
.content-kicker { margin: 0 0 12px; }

h1, h2, h3 { color: #f5faf7; line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; }
h1 { max-width: 920px; margin: 0 0 24px; font-size: clamp(2rem, 4.2vw, 4rem); }
h2 { margin: 72px 0 20px; padding-top: 8px; font-size: clamp(1.6rem, 2.8vw, 2.45rem); }
h3 { margin: 40px 0 14px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { color: #b3c2bc; }
.content-section > p { max-width: 920px; }
strong { color: #e7f3ee; }

.author-box {
  display: grid;
  margin: 32px 0 62px;
  padding: 18px 22px;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 18px;
  background: linear-gradient(90deg, rgba(72, 227, 154, .07), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 14px;
}

.author-box p { margin: 0; font-size: .76rem; line-height: 1.55; }

.casino-specs {
  width: 100%;
  margin: 26px 0 50px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, .018);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: .86rem;
}

.casino-specs th, .casino-specs td { padding: 15px 18px; text-align: left; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.casino-specs th:last-child, .casino-specs td:last-child { border-right: 0; }
.casino-specs tr:last-child td { border-bottom: 0; }
.casino-specs th { color: #d5f7e7; background: rgba(72, 227, 154, .07); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.casino-specs td { color: #aebfb8; }
.casino-specs td:first-child { color: #e4eee9; font-weight: 700; }
.casino-specs tbody tr:hover td { background: rgba(72, 227, 154, .025); }

.categories { margin: 28px 0 30px; }
.categories > p, .section-header > p { margin: 0 0 13px; color: #eff8f4; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.categories__list { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; }
.category { flex: 0 0 auto; padding: 9px 15px; color: #9fb3ab; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; font-size: .75rem; font-weight: 750; }
.category:first-child { color: #062118; background: var(--green); border-color: var(--green); }

.new-games { margin: 26px 0 58px; }
.section-header { display: flex; margin-bottom: 15px; align-items: center; justify-content: space-between; }
.section-header > p { margin: 0; }
.section-header .btn { min-height: 35px; padding-inline: 13px; }
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.game-card { min-width: 0; margin: 0; }
.game-card__art { position: relative; overflow: hidden; aspect-ratio: .82; background: var(--surface-2); border: 1px solid var(--line); border-radius: 15px; }
.game-card__art::after { position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(3,8,6,.7)); content: ""; }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.game-card:hover img { filter: brightness(1.08); transform: scale(1.05); }
.game-card > p { margin: 9px 3px 0; overflow: hidden; color: #d5e2dd; font-size: .72rem; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

.content-image { margin: 36px 0 46px; padding: 7px; background: linear-gradient(135deg, rgba(72,227,154,.2), rgba(255,255,255,.025)); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.content-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }

.content-section ul, .content-section ol { max-width: 900px; margin: 20px 0 34px; padding-left: 0; list-style: none; counter-reset: item; }
.content-section li { position: relative; margin: 11px 0; padding-left: 30px; color: #adbbb6; }
.content-section ul > li::before { position: absolute; top: .72em; left: 4px; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px rgba(72,227,154,.45); content: ""; }
.content-section ol > li { counter-increment: item; }
.content-section ol > li::before { position: absolute; top: .08em; left: 0; color: var(--green); font-size: .78rem; font-weight: 900; content: counter(item, decimal-leading-zero); }

.pros-cons { display: grid; margin: 32px 0 56px; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros-cons__item { padding: 8px 25px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.pros-cons__item:first-child { border-top-color: rgba(72,227,154,.55); }
.pros-cons__item:last-child { border-top-color: rgba(255,131,124,.42); }
.pros-cons__item h3 { margin-top: 20px; }
.pros-cons__item ul { margin-bottom: 0; }
.pros-cons__item:last-child li::before { background: var(--danger); box-shadow: none; }

.promo-row { display: grid; margin: 32px 0 55px; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo-card { position: relative; min-height: 230px; padding: 30px; overflow: hidden; background: linear-gradient(135deg, #173d2f, #0c2019); border: 1px solid rgba(72,227,154,.18); border-radius: 20px; }
.promo-card:nth-child(2) { background: linear-gradient(135deg, #35311c, #19170d); border-color: rgba(227,191,101,.2); }
.promo-card::after { position: absolute; right: -42px; bottom: -72px; width: 180px; height: 180px; background: var(--green); border-radius: 50%; opacity: .1; filter: blur(2px); content: ""; }
.promo-card:nth-child(2)::after { background: var(--gold); }
.promo-card > p:first-child { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 850; }
.promo-card > p:nth-child(2) { max-width: 75%; margin: 8px 0 24px; font-size: .82rem; }
.promo-card__badge { position: absolute; top: 25px; right: 25px; padding: 5px 9px; color: var(--green); background: rgba(0,0,0,.2); border: 1px solid currentColor; border-radius: 20px; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.promo-card:nth-child(2) .promo-card__badge { color: var(--gold); }
.promo-card .btn { position: relative; z-index: 2; }

.responsible-gaming { margin: 64px 0 0; padding: 4px 30px 24px; background: rgba(227,191,101,.05); border: 1px solid rgba(227,191,101,.16); border-radius: 20px; }
.responsible-gaming h2 { margin-top: 28px; }
.legal-links a { color: var(--gold); border-bottom: 1px solid rgba(227,191,101,.3); }

#faq ~ h3 { position: relative; margin-top: 12px; padding: 19px 50px 19px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; font-size: 1rem; }
#faq ~ h3::after { position: absolute; top: 50%; right: 22px; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px rgba(72,227,154,.5); content: ""; transform: translateY(-50%); }

.site-footer { margin-left: var(--sidebar); padding: 46px clamp(20px, 3.5vw, 52px) 26px; background: #050c0a; border-top: 1px solid var(--line); }
.footer__wrapper { display: grid; width: min(1120px, 100%); margin: 0 auto; grid-template-columns: 1fr 1.3fr 1fr 1.1fr; gap: 30px; }
.footer__wrapper p { margin: 5px 0; color: #70837b; font-size: .74rem; line-height: 1.5; }
.footer__wrapper .footer__label { margin-bottom: 12px; color: #d6e2dd; font-weight: 800; letter-spacing: .04em; }
.footer__wrapper a:hover { color: var(--green); }
.update-info { display: flex; width: min(1120px, 100%); margin: 36px auto 0; padding-top: 20px; gap: 7px; color: #576a62; border-top: 1px solid var(--line); font-size: .68rem; }

@media (max-width: 1100px) {
  :root { --sidebar: 0px; }
  .sidebar { position: sticky; top: 0; width: 100%; height: 68px; padding: 10px 20px; overflow: hidden; flex-direction: row; align-items: center; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { flex: 0 0 auto; padding: 0 20px 0 0; border: 0; }
  .brand__mark { width: 36px; height: 36px; }
  .sidebar__section { display: flex; margin: 0 0 0 auto; gap: 2px; }
  .sidebar__section-title, .sidebar__links, .sidebar__pill { display: none; }
  .sidebar__button { padding: 8px 10px; font-size: .72rem; }
  .sidebar__button.active::before { display: none; }
  .main, .site-footer { margin-left: 0; }
  .top-bar { top: 68px; }
  .hero { min-height: 410px; grid-template-columns: 1fr 1fr; }
  .hero__content { padding: 38px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .sidebar { padding-inline: 14px; }
  .brand__tag { display: none; }
  .brand__logo { font-size: 1rem; }
  .sidebar__button:nth-of-type(n+3) { display: none; }
  .top-bar { min-height: 64px; padding: 10px 15px; }
  .search { width: auto; flex: 1; }
  .balance { display: none; }
  .top-bar__actions .btn--ghost { display: none; }
  .top-bar__actions .btn { min-height: 40px; padding-inline: 13px; }
  .hero { min-height: 485px; margin: 15px; grid-template-columns: 1fr; align-items: end; }
  .hero__visual { opacity: .68; }
  .hero__visual img { width: 100%; height: 100%; object-position: 68% center; }
  .hero__visual::after { background: linear-gradient(0deg, #0b211a 15%, rgba(11,33,26,.72) 65%, rgba(11,33,26,.15)); }
  .hero__content { align-self: end; padding: 30px 24px; }
  .hero h2 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero__content > p:not(.eyebrow, .hero__note) { max-width: 420px; margin-top: 15px; font-size: .9rem; }
  .hero__actions { margin-top: 20px; }
  .content-section { width: calc(100% - 30px); margin-top: 54px; }
  h1 { font-size: 2.25rem; }
  h2 { margin-top: 56px; }
  .author-box { grid-template-columns: 1fr; gap: 9px; }
  .casino-specs { display: block; overflow-x: auto; white-space: normal; }
  .casino-specs th, .casino-specs td { min-width: 165px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons, .promo-row { grid-template-columns: 1fr; }
  .content-image { margin-inline: -5px; border-radius: 17px; }
  .content-image img { border-radius: 12px; }
  .responsible-gaming { padding-inline: 20px; }
  .footer__wrapper { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 430px) {
  .brand { padding-right: 10px; }
  .brand__mark { width: 32px; height: 32px; }
  .sidebar__button { padding-inline: 7px; }
  .sidebar__button:nth-of-type(2) { display: none; }
  .search input::placeholder { color: transparent; }
  .search { max-width: 48px; }
  .hero__actions .btn { width: 100%; }
  .footer__wrapper { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
