/* ===== yaass theme — energetic dark sportsbook + casino ===== */
:root {
  --primary: #ff8a00;
  --accent: #ffd000;
  --bg: #14110f;
  --bg-soft: #1f1a16;
  --text: #f5efe6;

  --muted: rgba(245, 239, 230, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --pill: 999px;
  --maxw: 1200px;
  --grad: linear-gradient(135deg, var(--primary), var(--accent));
  --glow: 0 10px 30px rgba(255, 138, 0, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 138, 0, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 208, 0, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }

section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px;
}

section > h2 { text-align: center; margin-bottom: 36px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--pill);
  padding: 12px 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: var(--grad);
  color: #1a1208;
  box-shadow: var(--glow);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 38px rgba(255, 138, 0, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--bg-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* Attention pulse for main CTAs */
@keyframes pulse-cta {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 208, 0, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255, 208, 0, 0); }
}

.pulse {
  transform-origin: center;
  animation: pulse-cta 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}

/* ===== 18+ bar ===== */
.age-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #0d0b09;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.age-pill {
  background: var(--grad);
  color: #1a1208;
  font-weight: 900;
  border-radius: var(--pill);
  padding: 2px 10px;
  font-size: 0.8rem;
}

.age-pill.big { font-size: 1rem; padding: 4px 14px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 17, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 138, 0, 0.55));
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover { background: var(--bg-soft); color: var(--accent); }

.header-cta { white-space: nowrap; }

/* ===== Burger ===== */
.burger {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.burger:hover { color: var(--accent); border-color: var(--primary); }

/* ===== Scroll reveal ===== */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Countdown ===== */
.countdown-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 14px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 28px;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  padding: 14px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
}

.countdown-num {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.countdown-cap {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.badge {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--primary);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--pill);
  margin-bottom: 18px;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.rating-num { font-weight: 800; color: var(--accent); }
.rating-count { color: var(--muted); font-size: 0.9rem; }

.bonus-box {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 22px 0;
}

.bonus-amount {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bonus-desc { color: var(--muted); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.terms { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

.hero-media img {
  border-radius: var(--radius);
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ===== Stars ===== */
.stars {
  display: inline-flex;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent);
}
.stars .s-full { color: var(--accent); }
.stars .s-empty { color: rgba(255, 255, 255, 0.22); }
.stars .s-half { position: relative; color: rgba(255, 255, 255, 0.22); }
.stars .s-half::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: var(--accent);
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.feature {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.feature:hover { transform: translateY(-4px); border-color: var(--primary); }

.feature-icon { font-size: 2.4rem; margin-bottom: 12px; }

.feature h3 { font-size: 1.1rem; }

.feature p { color: var(--muted); margin: 0; }

/* ===== Specs ===== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

.specs-table th {
  width: 40%;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
}

.specs-table td { color: var(--muted); }

/* ===== Slots ===== */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
/* yaass показывает только 3 карточки слотов */
.slots-grid .slot-card:nth-child(n+4) { display: none; }

.slot-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.slot-card:hover { transform: translateY(-4px); border-color: var(--primary); }

.slot-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #2a1500;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slot-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 6px;
}

.slot-info h3 { margin: 0; font-size: 1.05rem; }

.slot-provider { color: var(--primary); font-weight: 600; font-size: 0.85rem; }

.slot-rtp { color: var(--muted); font-size: 0.85rem; }

.slot-cta { margin: 10px 18px 18px; }

/* ===== Bonus block ===== */
.bonus-block { padding-top: 0; }

.bonus-block-inner {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(60% 90% at 16% 50%, rgba(255, 138, 0, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(255, 208, 0, 0.08), rgba(255, 255, 255, 0.02)),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}

.bonus-media { display: flex; justify-content: center; }

.bonus-media img {
  width: 100%;
  max-width: 280px;
  border-radius: 18px;
  filter: drop-shadow(0 14px 36px rgba(255, 138, 0, 0.45));
  animation: bonus-float 4s ease-in-out infinite;
}

@keyframes bonus-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .bonus-media img { animation: none; }
}

.bonus-content { text-align: left; }

.bonus-content h2 { text-align: left; }

.bonus-block-text { color: var(--muted); margin: 0 0 18px; max-width: none; }

.bonus-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  max-width: none;
  display: grid;
  gap: 12px;
  text-align: left;
}

.bonus-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
}

.bonus-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1a1208;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

/* ===== Reviews ===== */
.review-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1a1208;
  font-weight: 900;
  font-size: 1rem;
}

.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; }
.review-date { color: var(--muted); font-size: 0.82rem; }
.review-text { color: var(--muted); margin: 12px 0 0; }

/* ===== Article (SEO) ===== */
.article {
  max-width: 820px;
}

.article-title { text-align: center; margin-bottom: 36px; }

.article-block { margin-bottom: 32px; }

.article-block:last-child { margin-bottom: 0; }

.article-block h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.6em;
}

.article-block p {
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1em;
}

.article-block p:last-child { margin-bottom: 0; }

.article-block a { color: var(--accent); }

/* ===== FAQ ===== */
.faq { max-width: 860px; }

.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 22px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 900;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ===== Final CTA ===== */
.cta-final {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 138, 0, 0.14), rgba(255, 208, 0, 0.08));
  border-radius: var(--radius);
  margin-top: 24px;
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0d0b09;
  padding: 40px 24px;
  text-align: center;
}

.disclaimer { color: var(--muted); font-size: 0.85rem; max-width: 800px; margin: 0 auto 18px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover { color: var(--accent); }

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.responsible { color: var(--muted); font-size: 0.85rem; }
.responsible a { color: var(--accent); }

.copyright { color: var(--muted); font-size: 0.82rem; margin: 0; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta { display: none; }

.sticky-cta .btn {
  width: 100%;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body { padding-bottom: 76px; }

  .age-bar { display: none; }

  /* Кнопки (регистрация + вход) в столбик во всю ширину: текст влезает, обе видны */
  .hero-actions { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn-lg { width: 100%; }

  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 11, 9, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .sticky-cta.show {
    transform: none;
    opacity: 1;
  }

  /* Текст (с кнопками) — первым, картинка — под ним; компактнее заголовок и отступы,
     чтобы кнопки были видны выше на мобиле */
  .hero { grid-template-columns: 1fr; padding-top: 22px; gap: 20px; }
  .hero h1 { font-size: 1.7rem; }
  .hero .lead { font-size: 1rem; }
  .hero-media { order: 1; }
  .hero-media img { max-height: 220px; width: 100%; object-fit: cover; }

  /* Header row on mobile: logo (left) … burger (far right) */
  .logo { margin-right: auto; }

  /* Hide the header register button on mobile so the burger is the
     right-most element (CTA still appears in the hero and dropdown). */
  .header-cta { display: none; }

  .burger {
    display: inline-flex;
    margin-left: auto;
    order: 99;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
    padding: 12px 24px 18px;
    background: rgba(20, 17, 15, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  }

  .nav.open { display: flex; }

  .nav .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .bonus-block-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 22px;
    text-align: center;
  }

  .bonus-media img { max-width: 180px; }

  .bonus-content,
  .bonus-content h2 { text-align: center; }

  .bonus-list {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .brand-name { font-size: 1.25rem; }
}

@media (max-width: 390px) {
  section { padding: 44px 16px; }
  .bonus-list { text-align: left; }
}
