main {
  position: relative;
  z-index: 1;
}

.hero {
  background: var(--bg);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--crt-glow) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--analog-tech-cream);
  margin-bottom: 16px;
  text-shadow: 0 0 20px var(--crt-glow);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-wrap {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--60s-future-teal);
  box-shadow:
    0 0 0 8px rgba(94, 191, 181, 0.15),
    0 0 40px var(--crt-glow),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-circle-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}

.hero-circle-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offers-section {
  padding: 80px 24px;
  position: relative;
  background-image: url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 10, 19, 0.85) 0%, rgba(26, 18, 36, 0.92) 100%);
}

.offers-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--analog-tech-cream);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--muted);
}

.offers-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.offer-card {
  background: linear-gradient(145deg, #2A1F35 0%, #1E1528 100%);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.15);
}

.offer-logo-wrap {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.offer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-name {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.offer-bonus-group {
  margin-bottom: 12px;
}

.offer-bonus {
  font-size: 0.95rem;
  color: #E2E8F0;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-terms {
  display: block;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.8);
  margin-top: 6px;
}

.offer-desc {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 20px;
  line-height: 1.4;
}

.offer-cta {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
  color: #1a1a2e;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 4px 0 #CC8400;
  transition: transform 0.15s;
  font-family: inherit;
}

.offer-cta:hover {
  transform: translateY(-2px);
  color: #1a1a2e;
}

.info-section {
  padding: 72px 24px;
  position: relative;
}

.info-section:nth-child(even) {
  background: rgba(26, 18, 36, 0.5);
}

.info-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.info-section h2 {
  font-size: 1.75rem;
  color: var(--analog-tech-cream);
  margin-bottom: 20px;
}

.info-section p {
  color: rgba(253, 242, 248, 0.85);
  margin-bottom: 16px;
}

.info-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(180deg, var(--60s-future-teal) 0%, #3D9A91 100%);
  color: var(--bg);
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 0 #2A7A72;
  transition: transform 0.15s;
}

.info-cta:hover {
  transform: translateY(-2px);
  color: var(--bg);
}

.layout-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.steps-list {
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  padding: 16px 16px 16px 56px;
  position: relative;
  margin-bottom: 12px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--atomic-age-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--bg);
}

.layout-wager {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wager-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: inset 0 -4px 0 var(--fallout-warm);
}

.wager-card h3 {
  color: var(--retro-teal);
  font-size: 1rem;
  margin-bottom: 12px;
}

.layout-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-tile {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.game-tile:hover {
  border-color: var(--primary);
}

.game-tile h3 {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.game-tile p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.layout-live-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.live-band-img {
  max-width: 500px;
  max-height: 320px;
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
}

.layout-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--atomic-age-pink);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--atomic-age-pink);
}

.timeline-item h3 {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 6px;
}

.layout-vip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vip-tier {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  border-top: 4px solid var(--fallout-warm);
}

.vip-tier:nth-child(2) {
  border-top-color: var(--60s-future-teal);
  transform: scale(1.03);
}

.vip-tier:nth-child(3) {
  border-top-color: var(--atomic-age-pink);
}

.vip-tier h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--analog-tech-cream);
}

.layout-roulette {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.roulette-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-block {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.stat-block strong {
  display: block;
  font-size: 1.5rem;
  color: var(--retro-teal);
  font-family: Georgia, serif;
}

.layout-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.checklist {
  list-style: none;
}

.checklist li {
  padding: 12px 12px 12px 40px;
  position: relative;
  margin-bottom: 10px;
  background: rgba(26, 18, 36, 0.8);
  border-radius: 12px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--retro-teal);
  font-weight: 700;
}

.checklist-img-wrap {
  max-width: 500px;
  margin: 0 auto;
}

.checklist-img-wrap img {
  border-radius: 16px;
  max-height: 320px;
  object-fit: cover;
  width: 100%;
}

.layout-slots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.slot-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 2px solid var(--border);
}

.slot-card h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 10px;
}

.layout-welcome {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.welcome-box {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(167, 139, 250, 0.1));
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 32px;
  position: relative;
}

.welcome-box::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(245, 230, 211, 0.2);
  border-radius: 18px;
  pointer-events: none;
}

.welcome-img {
  max-width: 500px;
  max-height: 320px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 3px solid var(--fallout-warm);
}

.info-section--wager-bg {
  background-image: linear-gradient(rgba(15, 10, 19, 0.9), rgba(15, 10, 19, 0.9)), url("/images/decorative/decor_6.jpg");
  background-size: cover;
  background-position: center;
}

.decor-inline {
  max-width: 500px;
  max-height: 320px;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
  }

  .hero-circle-wrap {
    width: 150px;
    height: 150px;
  }

  .layout-steps,
  .layout-live-band,
  .layout-roulette,
  .layout-checklist,
  .layout-welcome {
    grid-template-columns: 1fr;
  }

  .layout-wager,
  .layout-games,
  .layout-vip {
    grid-template-columns: 1fr;
  }

  .vip-tier:nth-child(2) {
    transform: none;
  }

  .offer-logo-wrap {
    width: 120px;
    height: 80px;
  }

  .offer-logo-wrap img {
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 375px) {
  .hero,
  .info-section,
  .offers-section {
    overflow-x: hidden;
  }

  .hero-circle-wrap {
    width: 140px;
    height: 140px;
  }

  .hero-circle-wrap img {
    max-width: 100%;
  }

  .decor-inline,
  .live-band-img,
  .welcome-img,
  .checklist-img-wrap,
  .checklist-img-wrap img,
  .layout-live-band,
  .layout-checklist,
  .layout-welcome {
    max-width: 100%;
    overflow: hidden;
  }

  .layout-slots {
    max-width: 100%;
  }
}
