/* ===== Variables ===== */
:root {
  --bg-dark: #0d0a1a;
  --bg-card: #15102a;
  --bg-card-hover: #1a1535;
  --text: #e8e4f0;
  --text-muted: #a09ab8;
  --gold: #f0b429;
  --gold-light: #ffd54f;
  --cyan: #00d4aa;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --gradient-gold: linear-gradient(135deg, #f0b429 0%, #f59e0b 50%, #d97706 100%);
  --gradient-accent: linear-gradient(135deg, #00d4aa 0%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(180deg, #1a1535 0%, #0d0a1a 50%, #0d0a1a 100%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --font-main: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

/* ===== Layout ===== */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 180, 41, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.logo span {
  color: var(--gold);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(240, 180, 41, 0.08) 0%, transparent 60%);
  animation: bgPulse 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(240, 180, 41, 0.3);
}

.hero h1 span {
  color: var(--gold);
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-desc {
  font-size: 0.9rem;
  color: #c8c4dc;
  max-width: 320px;
  margin: 0 auto;
}

.hero-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: var(--gradient-gold);
  color: #0d0a1a;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(240, 180, 41, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 32px rgba(240, 180, 41, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.hero-cta:active {
  transform: scale(0.98);
}

/* Hero: размер блока = размер картинки в мобильной версии */
.hero-img {
  display: none;
}

.hero-img--mobile {
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .hero {
    min-height: 0;
    height: auto;
    padding: 0;
    background: none;
    display: block;
  }

  .hero-img--mobile {
    display: block;
  }

  .hero-bg {
    background: transparent;
  }

  .hero-bg::before {
    display: none;
  }

  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: translateY(-8%);
  }
}

@media (min-width: 1024px) {
  .hero-img--mobile {
    display: none;
  }
}

/* Hero: фон и размер блока под изображение на десктопе */
@media (min-width: 1024px) {
  .hero {
    min-height: 0;
    height: 0;
    padding-bottom: 20%; /* уменьшенный блок под размер изображения (пропорция ~1920×384) */
    background-image: url('../fugudetskop.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-bg {
    background: transparent;
  }

  .hero-bg::before {
    display: none;
  }

  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* ===== Sections ===== */
.section {
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section:nth-child(even) {
  background: rgba(21, 16, 42, 0.4);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--gold);
  margin: 20px 0 12px;
  font-weight: 700;
}

.section p {
  margin-bottom: 14px;
  color: var(--text);
}

.section p:last-child {
  margin-bottom: 0;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.card:last-child {
  margin-bottom: 0;
}

.card p {
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-gold {
  border-color: rgba(240, 180, 41, 0.35);
  background: linear-gradient(145deg, rgba(240, 180, 41, 0.08) 0%, var(--bg-card) 100%);
}

.card-gradient {
  border-color: rgba(0, 212, 170, 0.3);
  background: linear-gradient(145deg, rgba(0, 212, 170, 0.06) 0%, rgba(139, 92, 246, 0.06) 100%);
}

.card-accent {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, var(--bg-card) 100%);
}

.card-info h3 {
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 8px;
}

.card h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* ===== Lists ===== */
.icon-list {
  list-style: none;
  margin: 16px 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.icon-list .icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.check-list {
  list-style: none;
  margin: 12px 0 18px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.1rem;
}

.bonus-list {
  list-style: none;
  margin: 12px 0 0;
}

.bonus-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text);
}

.bonus-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 12px 0 18px;
}

.payment-list li {
  background: var(--bg-card);
  color: var(--gold);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 180, 41, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Table ===== */
.table-wrap {
  margin: 24px 0;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.loyalty-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.loyalty-table th,
.loyalty-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.loyalty-table th {
  background: rgba(240, 180, 41, 0.15);
  color: var(--gold);
  font-weight: 700;
}

.loyalty-table tr:last-child td {
  border-bottom: none;
}

.loyalty-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ===== Accordion (FAQ) ===== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.accordion-head {
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, color 0.2s;
}

.accordion-head::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.3s;
}

.accordion-item.is-open .accordion-head::after {
  transform: rotate(45deg);
}

.accordion-head:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-light);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-body-inner {
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.accordion-item.is-open .accordion-body {
  max-height: 200px;
}

/* ===== Footer ===== */
.footer {
  margin-top: auto;
  padding: 32px 20px;
  background: var(--bg-card);
  border-top: 1px solid rgba(240, 180, 41, 0.2);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-domain {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.5;
}
