/* ============ uzuplay — modern dark neon theme ============ */
:root {
  --bg: #0b0f14;
  --bg-soft: #131a22;
  --primary: #00e0c6;
  --accent: #ff2e88;
  --text: #e8f0f2;

  --muted: rgba(232, 240, 242, 0.62);
  --border: rgba(0, 224, 198, 0.22);
  --card: rgba(255, 255, 255, 0.04);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --grad: linear-gradient(120deg, var(--primary), var(--accent));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 28px; text-align: center; }
section { padding: 70px 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 8px 26px rgba(0, 224, 198, 0.28), 0 4px 18px rgba(255, 46, 136, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-ghost {
  background: rgba(0, 224, 198, 0.06);
  color: var(--text);
  border: 1px solid var(--primary);
  box-shadow: 0 0 18px rgba(0, 224, 198, 0.18);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(0, 224, 198, 0.14);
  box-shadow: 0 0 26px rgba(0, 224, 198, 0.32);
}

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

/* ---------- attention pulse (neon glow ring) ---------- */
@keyframes pulse-cta {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 46, 136, 0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255, 46, 136, 0); }
}
.pulse {
  transform-origin: center;
  animation: pulse-cta 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}

/* ---------- glassy card ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- glow blobs ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 480px; height: 480px; background: var(--primary); top: -160px; left: -120px; }
.glow-2 { width: 420px; height: 420px; background: var(--accent); bottom: -180px; right: -100px; }
.glow-3 { width: 520px; height: 520px; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.22; }

/* ---------- 18+ bar ---------- */
.age-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 8px 16px;
}
.age-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 9px;
  border-radius: 999px;
  margin-right: 6px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  line-height: 1;
  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 10px rgba(0, 224, 198, 0.5)) drop-shadow(0 0 14px rgba(255, 46, 136, 0.35));
  white-space: nowrap;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-weight: 500;
}
.nav a { color: var(--muted); transition: color 0.18s ease; position: relative; }
.nav a:hover { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.2s ease;
}
.nav a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(0, 224, 198, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--primary); background: rgba(0, 224, 198, 0.14); }
.nav-toggle[aria-expanded="true"] { color: var(--primary); }

/* ---------- hero ---------- */
.hero { overflow: hidden; padding-top: 80px; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border);
  background: rgba(0, 224, 198, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin-bottom: 16px;
}
.hero h1 ,
.cta-final h2 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 22px; }

.rating-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.rating-num { font-weight: 700; }
.rating-count { color: var(--muted); font-size: 0.92rem; }

.bonus-box {
  display: inline-flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(0, 224, 198, 0.12);
}
.bonus-amount {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bonus-desc { color: var(--muted); font-size: 0.95rem; }
.terms { font-size: 0.8rem; color: var(--muted); margin-top: 14px; max-width: 480px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.hero-media-glow {
  position: absolute;
  inset: -20px;
  background: var(--grad);
  filter: blur(60px);
  opacity: 0.35;
  border-radius: var(--radius);
}

/* ---------- stars ---------- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 1px;
  line-height: 1;
}
.stars .empty { color: rgba(232, 240, 242, 0.22); }
.stars .half { position: relative; color: rgba(232, 240, 242, 0.22); }
.stars .half::before { content: "★"; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--primary); }

/* ---------- features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.feature { padding: 28px 24px; transition: transform 0.18s ease, border-color 0.2s ease; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 46, 136, 0.4); }
.feature-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(0, 224, 198, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- specs ---------- */
.specs-table { width: 100%; border-collapse: collapse; overflow: hidden; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: 0; }
.specs-table th, .specs-table td { text-align: left; padding: 16px 22px; }
.specs-table th { color: var(--muted); font-weight: 500; width: 42%; }
.specs-table td { font-weight: 600; }

/* ---------- popular slots ---------- */
.slots > h2,
.slots-grid {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
/* показываем только 3 карточки слотов */
.slots-grid .slot-card:nth-child(n+4) { display: none; }
.slot-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.slot-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 0 24px rgba(0, 224, 198, 0.25);
}
.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: #05121a;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(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: .85rem; }
.slot-rtp { color: var(--muted); font-size: .85rem; }
.slot-cta { margin: 10px 18px 18px; }

/* ---------- bonus block ---------- */
.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(0, 224, 198, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(0, 224, 198, 0.08), rgba(255, 46, 136, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.bonus-media { display: flex; justify-content: center; }
.bonus-media img {
  width: 100%;
  max-width: 280px;
  border-radius: 18px;
  filter: drop-shadow(0 0 30px rgba(0, 224, 198, 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; margin-bottom: 14px; }
.bonus-block-text { color: var(--muted); margin: 0 0 18px; max-width: none; }
.bonus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin: 18px 0 24px;
  max-width: none;
  padding: 0;
}
.bonus-list li { position: relative; padding-left: 30px; }
.bonus-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ---------- countdown ---------- */
.countdown {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  max-width: 520px;
}
.countdown-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.countdown-timer {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.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(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 24px rgba(0, 224, 198, 0.12);
}
.countdown-num {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.countdown-cap {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

@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; }
  .countdown-timer { justify-content: center; }
  .bonus-list { max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review { padding: 24px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #04121a;
  background: var(--grad);
  flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 600; }
.review-date { font-size: 0.82rem; color: var(--muted); }
.review-text { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }

/* ---------- article (SEO) ---------- */
.article {
  position: relative;
  z-index: 1;
}
.article-title {
  max-width: 820px;
  margin: 0 auto 28px;
}
.article-block {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 4px;
}
.article-block + .article-block { margin-top: 36px; }
.article-block h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.article-block p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}
.article-block p:last-child { margin-bottom: 0; }
.article-block a { color: var(--primary); text-decoration: underline; }
.article-block a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .article-block { padding: 0 6px; }
  .article-block h3 { font-size: 1.2rem; }
}

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { padding: 0 24px; overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 20px; }

/* ---------- final cta ---------- */
.cta-final { overflow: hidden; text-align: center; }
.cta-final-inner { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 50px 0 40px;
  text-align: center;
}
.disclaimer { color: var(--muted); font-size: 0.85rem; max-width: 760px; margin: 0 auto 20px; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 22px;
}
.footer-links a { color: var(--muted); transition: color 0.18s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.responsible { color: var(--muted); font-size: 0.84rem; }
.responsible a { color: var(--primary); }
.copyright { color: var(--muted); font-size: 0.84rem; }

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

/* ============ responsive ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
}

@media (max-width: 768px) {
  /* hide top 18+ bar on mobile (footer responsible-gaming block stays) */
  .age-bar { display: none; }

  /* Обе кнопки (регистрация + вход) в один ряд, чтобы были видны обе на мобиле */
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn-lg { flex: 1 1 0; width: auto; min-width: 0; padding-left: 14px; padding-right: 14px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    padding: 8px 24px 16px;
    margin-left: 0;
  }
  .nav.open { display: flex; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav.open a:last-child { border-bottom: 0; }

  /* logo far-left, burger far-right on mobile */
  .header-inner { justify-content: space-between; gap: 12px; }
  .logo { margin-right: auto; order: 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; order: 99; }

  /* hide header register button on mobile (kept in hero + dropdown) */
  .header-inner .btn-primary { display: none; }

  /* keep fixed bar from hiding footer content */
  body { padding-bottom: 76px; }

  .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(11, 15, 20, 0.86);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45), 0 -2px 18px rgba(0, 224, 198, 0.18);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .sticky-cta.show {
    transform: none;
    opacity: 1;
  }
  .sticky-cta .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  section { padding: 50px 0; }
  .wrap { padding: 0 18px; }
  .bonus-block-inner { padding: 30px 22px; }
  .feature { padding: 24px 20px; }
}

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