/* Eva Casino Club — стили сайта */
:root {
  --bg: #06110f;
  --g50: #bdd9d4;
  --g100: #89cdbf;
  --g200: #4cbfa7;
  --g300: #08ae8b;
  --g500: #017d63;
  --g600: #005947;
  --g700: #014337;
  --g800: #002e26;
  --g900: #001f19;
  --y100: #fdebc9;
  --y200: #ffdf9b;
  --y300: #ffd679;
  --y400: #dba849;
  --y500: #a76503;
  --green: #44c04c;
  --radius: 16px;
  --topbar: 72px;
  --side: 200px;
  --font: "PT Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Шапка ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--topbar); z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 16px;
  background: rgba(6, 17, 15, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(1, 67, 55, .6);
}
.topbar__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.burger {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--g800), var(--bg));
  border: 1px solid var(--g600); color: var(--g50);
}
.burger:hover { border-color: var(--g300); color: #fff; }
.logo { display: inline-flex; align-items: center; height: 40px; }
.logo img { height: 34px; width: auto; }
.topbar__nav { display: none; gap: 4px; margin-left: 12px; }
.topbar__nav a {
  padding: 8px 14px; border-radius: 12px; color: var(--g50); font-weight: 700; font-size: 14px;
  transition: background .2s, color .2s;
}
.topbar__nav a:hover, .topbar__nav a[aria-current="page"] { background: var(--g800); color: var(--y200); }
.topbar__actions { display: flex; gap: 10px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 16px; border: 1px solid transparent;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  transition: transform .15s, box-shadow .2s, filter .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(180deg, var(--y100), var(--y500)); color: var(--g900); box-shadow: 0 6px 20px rgba(219, 168, 73, .25); }
.btn--gold:hover { filter: brightness(1.08); box-shadow: 0 8px 26px rgba(219, 168, 73, .4); }
.btn--outline { background: var(--g900); border-color: var(--y200); color: var(--g50); }
.btn--outline:hover { border-color: var(--y100); color: #fff; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 14px; border-radius: 18px; }
.btn--pill { border-radius: 64px; background: linear-gradient(180deg, var(--g800), var(--bg)); border-color: var(--g600); color: var(--g50); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; }
.btn--pill:hover { border-color: var(--g300); color: #fff; }

/* ---------- Боковое меню ---------- */
.sidebar {
  position: fixed; top: var(--topbar); left: 0; bottom: 0; width: var(--side); z-index: 55;
  padding: 8px; overflow-y: auto; scrollbar-width: none;
  background: linear-gradient(180deg, var(--g900), var(--bg) 85%);
  border-right: 1px solid rgba(1, 67, 55, .6);
  transition: transform .25s ease;
}
.sidebar::-webkit-scrollbar { display: none; }
.side-banners { display: grid; gap: 8px; padding-bottom: 8px; }
.side-banner {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 62px; padding: 10px 14px; border-radius: 14px; overflow: hidden;
  font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.2; letter-spacing: .03em;
}
.side-banner--wheel { background: linear-gradient(120deg, #3b1d79, #1d3fa3 60%, #0a6f8c); }
.side-banner--eva { background: linear-gradient(120deg, #0b5a47, #017d63 60%, #a76503); }
.side-banner small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; text-transform: none; opacity: .85; letter-spacing: 0; }
.side-banner .bar { margin-top: 6px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); }
.side-banner .bar i { display: block; width: 8%; height: 100%; border-radius: 4px; background: var(--y300); }
.side-group { padding: 8px 0; border-top: 1px solid var(--g700); }
.side-group:first-of-type { border-top: 0; }
.side-link {
  display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 12px;
  color: #fff; transition: background .2s, color .2s;
}
.side-link .icon { color: var(--g200); transition: color .2s; }
.side-link:hover { background: var(--g800); }
.side-link:hover .icon { color: var(--y300); }
.side-link[aria-current="page"] { background: linear-gradient(90deg, var(--g700), transparent); color: var(--y200); box-shadow: inset 3px 0 0 var(--y300); }
.side-link[aria-current="page"] .icon { color: var(--y300); }
.side-link .dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .25s; }
body.menu-open .scrim { opacity: 1; visibility: visible; }

/* ---------- Каркас ---------- */
.page { padding-top: var(--topbar); min-height: 100vh; }
.main { padding: 12px 12px 48px; max-width: 1480px; margin: 0 auto; }
@media (max-width: 1023px) {
  .sidebar { transform: translateX(-105%); width: 260px; box-shadow: 0 0 40px rgba(0,0,0,.6); }
  body.menu-open .sidebar { transform: none; }
}
@media (min-width: 1024px) {
  .burger { display: none; }
  .topbar__nav { display: flex; }
  .page { margin-left: var(--side); }
  .main { padding: 16px 24px 64px; }
  .scrim { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--g700);
  background: #0a1c18 url("/header-bg.webp") center 30% / cover no-repeat;
  padding: 40px 20px 20px; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,17,15,.45) 0%, rgba(6,17,15,.25) 35%, rgba(6,17,15,.92) 100%),
    linear-gradient(90deg, rgba(6,17,15,.78) 0%, rgba(6,17,15,.15) 60%);
}
.hero--compact { min-height: 340px; }
.hero__content { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 40px;
  background: rgba(0, 31, 25, .75); border: 1px solid var(--g600); color: var(--y200); font-size: 13px; font-weight: 700;
}
.hero__badge .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
.hero h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; font-weight: 700; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero h1 span { color: var(--y300); }
.hero__lead { margin-top: 14px; font-size: clamp(15px, 1.5vw, 18px); color: var(--g50); max-width: 560px; }
.hero__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.promo-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.promo-card {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: 18px; background: rgba(0, 31, 25, .72); border: 1px solid rgba(1, 67, 55, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s, background .2s;
}
.promo-card:hover { transform: translateY(-3px); border-color: var(--y400); background: rgba(0, 46, 38, .85); }
.promo-card__icon {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--y100), var(--y400) 55%, var(--y500));
  color: var(--g900); box-shadow: 0 0 22px rgba(255, 214, 121, .35);
}
.promo-card__icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.promo-card strong { display: block; font-size: 15px; line-height: 1.2; }
.promo-card small { color: var(--g100); font-size: 12px; }
@media (min-width: 900px) {
  .hero { padding: 56px 40px 28px; min-height: 600px; }
  .promo-cards { grid-template-columns: repeat(4, 1fr); }
  .promo-card { padding: 16px; }
  .hero--compact { min-height: 380px; }
}

/* ---------- Чипы ---------- */
.chips { display: flex; gap: 12px; margin: 20px 0 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips .btn { height: 40px; flex: none; }
.chips .btn .icon { width: 18px; height: 18px; color: var(--g200); }
.chips .btn[aria-current="page"] { border-color: var(--y300); color: var(--y200); }

/* ---------- Секции / карусели ---------- */
.section { margin-top: 28px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.section__title { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.section__title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.section__tools { display: flex; align-items: center; gap: 10px; }
.round { width: 42px; padding: 0; height: 40px; border-radius: 64px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--g800), var(--bg)); border: 1px solid var(--g600); color: var(--g50); }
.round:hover { border-color: var(--g300); }
.section__sub { color: var(--g100); font-size: 14px; margin-top: 2px; }

.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--g600) transparent; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail .game { width: 210px; }
.rail .game--big { width: 300px; }
.grid-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }

.game {
  position: relative; display: block; border-radius: 16px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--g700); background: var(--g900);
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.game img { width: 100%; aspect-ratio: 287 / 193; object-fit: cover; transition: transform .35s; }
.game__name {
  position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; font-size: 14px; font-weight: 700;
  background: linear-gradient(0deg, rgba(6,17,15,.95), transparent);
}
.game__tag { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; background: rgba(0,31,25,.85); border: 1px solid var(--g500); color: var(--y200); }
.game__play {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0;
  background: rgba(6, 17, 15, .55); transition: opacity .2s;
}
.game__play span { padding: 10px 22px; border-radius: 40px; font-size: 13px; font-weight: 700; text-transform: uppercase; background: linear-gradient(180deg, var(--y100), var(--y500)); color: var(--g900); }
.game:hover { transform: translateY(-5px); border-color: var(--g300); box-shadow: 0 10px 30px rgba(8, 174, 139, .25); }
.game:hover img { transform: scale(1.06); }
.game:hover .game__play { opacity: 1; }

/* ---------- Выигрыши ---------- */
.wins { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .wins { grid-template-columns: 1.35fr 1fr; } }
.panel { border-radius: 20px; border: 1px solid var(--g700); background: linear-gradient(180deg, var(--g900), rgba(0,31,25,.55)); padding: 16px; }
.panel__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.panel__title .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--g100); font-weight: 400; }
.panel__title .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
.win-list { list-style: none; display: grid; gap: 8px; position: relative; }
.win {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px;
  padding: 8px 12px 8px 8px; border-radius: 14px; background: rgba(0, 46, 38, .55); border: 1px solid rgba(1, 67, 55, .8);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.win:hover { border-color: var(--g300); background: rgba(1, 67, 55, .6); }
.win--new { animation: winIn .55s cubic-bezier(.2, .8, .2, 1); }
.win--out { animation: winOut .35s ease forwards; }
.win img { width: 64px; height: 43px; object-fit: cover; border-radius: 9px; }
.win__game { font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__user { font-size: 12px; color: var(--g100); }
.win__sum { text-align: right; line-height: 1.2; }
.win__sum b { display: block; font-size: 16px; color: var(--y300); }
.win__sum span { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; color: var(--g900); background: var(--g200); }
.win__sum span.hot { background: linear-gradient(180deg, var(--y100), var(--y400)); }
.hall { display: grid; gap: 10px; }
.hall__item {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px;
  border: 1px solid var(--g600); background: radial-gradient(circle at 0 0, rgba(255, 214, 121, .14), transparent 55%), var(--g800);
  cursor: pointer; transition: opacity .4s, transform .4s, border-color .2s;
}
.hall__item:hover { border-color: var(--y400); }
.hall__item.is-swap { opacity: 0; transform: translateY(8px); }
.hall__place { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 22px; color: var(--g900); background: radial-gradient(circle at 30% 25%, var(--y100), var(--y400) 60%, var(--y500)); }
.hall__sum { font-size: 22px; font-weight: 700; color: var(--y300); line-height: 1.1; }
.hall__meta { font-size: 13px; color: var(--g50); }
.hall__meta em { font-style: normal; color: var(--g100); }
.note { margin-top: 10px; font-size: 12px; color: var(--g100); opacity: .75; }

.toast {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; display: none; align-items: center; gap: 10px; max-width: 320px;
  padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(0, 46, 38, .96); border: 1px solid var(--g300);
  box-shadow: 0 10px 34px rgba(0,0,0,.5); transform: translateY(24px); opacity: 0; transition: transform .4s, opacity .4s; pointer-events: none;
}
.toast.show { transform: none; opacity: 1; }
.toast img { width: 54px; height: 36px; object-fit: cover; border-radius: 8px; }
.toast b { color: var(--y300); }
.toast small { display: block; color: var(--g50); font-size: 12px; line-height: 1.25; }
@media (min-width: 720px) { .toast { display: flex; } }

/* ---------- Карточки (бонусы / лайв / преимущества) ---------- */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px;
  border: 1px solid var(--g700); background: linear-gradient(160deg, var(--g800), var(--g900) 70%);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-4px); border-color: var(--y400); box-shadow: 0 12px 30px rgba(219,168,73,.12); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, var(--y100), var(--y400) 55%, var(--y500)); color: var(--g900); }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 19px; line-height: 1.2; }
.card p { color: var(--g50); font-size: 15px; line-height: 1.55; }
.card__value { font-size: 30px; font-weight: 700; color: var(--y300); line-height: 1; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--y200); font-weight: 700; font-size: 14px; }
.card__more .icon { width: 18px; height: 18px; }

/* ---------- SEO-текст ---------- */
.seo { margin-top: 36px; border-radius: 24px; border: 1px solid var(--g700); padding: 28px 20px; background: linear-gradient(180deg, var(--g900), rgba(0, 31, 25, .4)); }
@media (min-width: 900px) { .seo { padding: 44px 56px; } }
.seo > * { max-width: 920px; }
.seo h1, .seo .seo-h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; color: #fff; margin-bottom: 18px; }
.seo h2 { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.25; color: var(--y200); margin: 34px 0 14px; }
.seo h2:first-child { margin-top: 0; }
.seo h3 { font-size: 19px; line-height: 1.3; color: var(--g100); margin: 24px 0 10px; }
.seo p { color: var(--g50); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.seo a { color: var(--y300); border-bottom: 1px solid rgba(255, 214, 121, .35); }
.seo a:hover { border-bottom-color: var(--y300); }
.seo ul, .seo ol { margin: 6px 0 18px; list-style: none; counter-reset: li; }
.seo li { position: relative; padding: 6px 0 6px 34px; color: var(--g50); line-height: 1.65; }
.seo ul li::before { content: ""; position: absolute; left: 6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--g300); box-shadow: 0 0 0 4px rgba(8, 174, 139, .18); }
.seo ol li { counter-increment: li; }
.seo ol li::before { content: counter(li); position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--g900); background: var(--y300); }
.seo strong { color: #fff; }
.table-wrap { overflow-x: auto; margin: 10px 0 20px; border-radius: 14px; border: 1px solid var(--g700); }
.seo table, .table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.seo th, .seo td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--g700); color: var(--g50); vertical-align: top; }
.seo th { background: var(--g800); color: var(--y200); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.seo tr:last-child td { border-bottom: 0; }
.seo-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { border-radius: 16px; border: 1px solid var(--g700); background: var(--g900); overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--g300); background: linear-gradient(180deg, var(--g800), var(--g900)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--y300); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 18px 18px; color: var(--g50); line-height: 1.7; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--y300); border-bottom: 1px solid rgba(255,214,121,.35); }

/* ---------- Крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 13px; color: var(--g100); margin: 6px 4px 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--y200); }

/* ---------- Футер ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--g700); padding: 32px 0 8px; color: var(--g100); font-size: 14px; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 15px; color: #fff; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: var(--y200); }
.footer__about p { margin-top: 12px; line-height: 1.6; max-width: 340px; }
.footer__legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--g800); display: flex; gap: 14px; align-items: flex-start; font-size: 12.5px; line-height: 1.6; color: var(--g100); opacity: .85; }
.age { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--y400); color: var(--y300); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* ---------- Анимации ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes winIn { from { opacity: 0; transform: translateY(-14px) scale(.98); background: rgba(8, 174, 139, .45); } to { opacity: 1; transform: none; } }
@keyframes winOut { to { opacity: 0; transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
