/* ===== Variables ===== */
:root {
  --color-bg: #0d0d12;
  --color-bg-card: #16161d;
  --color-bg-elevated: #1c1c26;
  --color-text: #e8e6ed;
  --color-text-muted: #9b98a6;
  --color-accent: #f5b546;
  --color-accent-2: #e8a01c;
  --color-accent-soft: rgba(245, 181, 70, 0.15);
  --color-cyan: #3dd4c4;
  --color-magenta: #d946b8;
  --color-green: #4ade80;
  --gradient-hero: linear-gradient(135deg, #1a1625 0%, #0d0d12 50%, #15121c 100%);
  --gradient-accent: linear-gradient(120deg, #f5b546, #e8a01c);
  --gradient-glow: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245, 181, 70, 0.25), transparent);
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-display: 'Unbounded', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-2);
}

ul {
  list-style: none;
}

/* ===== Accessibility ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 18, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

@media (min-width: 769px) {
  .header {
    min-height: 64px;
    contain: layout;
  }
  .header-inner {
    height: 64px;
  }
  .nav {
    min-height: 2.5rem;
    align-self: center;
  }
  .nav-list {
    min-height: 2.5rem;
    align-items: center;
  }
  .hero {
    contain: layout;
  }
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-text);
  min-width: 11ch;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-text);
}

.logo-accent {
  color: var(--color-accent);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.nav-list a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.nav-list a:hover {
  color: var(--color-accent);
}

.nav-telegram {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    min-height: 44px;
  }

  .nav-telegram {
    display: block;
    margin-top: 0.5rem;
  }

  .nav-telegram .btn {
    display: block;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-attachment: fixed;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 769px) {
  .hero-title {
    min-height: 2.5em;
  }
  .hero-lead {
    min-height: 3.2em;
  }
  .hero-buttons {
    min-height: 52px;
  }
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #0d0d12;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 181, 70, 0.35);
}

.btn-telegram {
  background: #0088cc;
  color: #fff;
}

.btn-telegram:hover {
  background: #006699;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.4);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== Sections ===== */
.section {
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

@media (min-width: 769px) {
  .section-title {
    min-height: 1.5em;
  }
}

.section-about .section-title { color: var(--color-cyan); }
.section-mirror .section-title { color: var(--color-accent); }
.section-registration .section-title { color: var(--color-magenta); }
.section-bonuses .section-title { color: var(--color-green); }
.section-games .section-title { color: var(--color-cyan); }
.section-payments .section-title { color: var(--color-accent); }
.section-mobile .section-title { color: var(--color-magenta); }
.section-reviews .section-title { color: var(--color-green); }
.section-conclusion .section-title { color: var(--color-accent); }

/* ===== Content ===== */
.prose {
  color: var(--color-text);
}

.prose p {
  margin-bottom: 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose ul.provider-list,
.prose ul.payment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
}

.prose ul.provider-list li,
.prose ul.payment-list li {
  padding: 0.5rem 0.75rem;
  background: var(--color-accent-soft);
  border-radius: var(--radius);
  margin-bottom: 0;
  font-weight: 500;
}

.content-block {
  max-width: 72ch;
}

.table-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ===== Bonus Table ===== */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.bonus-table th,
.bonus-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bonus-table th {
  background: rgba(245, 181, 70, 0.12);
  color: var(--color-accent);
  font-weight: 600;
}

.bonus-table tr:last-child td {
  border-bottom: none;
}

.bonus-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.review-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  border-color: rgba(245, 181, 70, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.review-card blockquote {
  margin: 0;
}

.review-card blockquote p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.review-author {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ===== Conclusion ===== */
.conclusion-block {
  background: var(--color-accent-soft);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== Print ===== */
@media print {
  .header,
  .nav-toggle,
  .btn,
  .skip-link {
    display: none !important;
  }

  .hero {
    padding: 2rem 0;
  }

  .section {
    break-inside: avoid;
  }
}
