main {
  overflow-x: hidden;
  flex: 1 0 auto;
}

.hero-luxury {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  min-height: 420px;
}

.hero-block-left {
  background: var(--primary);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.hero-block-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 191, 105, 0.3) 100%);
}

.hero-block-left h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--bg);
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-block-right {
  background: var(--secondary);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  min-height: 280px;
  align-self: end;
}

.hero-block-right p {
  font-size: 18px;
  color: var(--bg);
  text-align: right;
  max-width: 340px;
  font-weight: 500;
  line-height: 1.6;
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(255, 159, 28, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--dark-elegance) 0%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.offers-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-accents), transparent);
  box-shadow: 0 0 12px var(--luxury-glow);
}

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

.offers-section h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary);
}

.offers-intro {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 15px;
}

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

.offer-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.offer-card-logo {
  width: 292px;
  height: 80px;
  max-width: 100%;
  margin: 0 auto;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.offer-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card-name {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

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

.offer-card-bonus {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.offer-terms {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  display: block;
}

.offer-card-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.offer-card-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0066cc;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.offer-card-cta:hover {
  background: #0052a3;
  color: #fff;
}

.info-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
  position: relative;
}

.info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.info-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

.info-section p {
  color: var(--text);
  margin-bottom: 16px;
}

.info-cta-link {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, color 0.3s ease;
}

.info-cta-link:hover {
  background: var(--primary);
  color: var(--bg);
}

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

.layout-split-text {
  order: 1;
}

.layout-split-visual {
  order: 2;
}

.decor-img-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px var(--premium-shadow);
}

.decor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 320px;
}

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 4px;
}

.info-card h3 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

.layout-quote {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}

.pull-quote {
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: var(--secondary);
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  line-height: 1.5;
}

.layout-stats-band {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
  font-family: Georgia, serif;
}

.stat-item span {
  font-size: 13px;
  color: var(--muted);
}

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

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

.steps-list li {
  counter-increment: step;
  padding-left: 48px;
  position: relative;
  margin-bottom: 20px;
  color: var(--text);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

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

.check-list {
  list-style: none;
  margin-top: 16px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border);
  margin-top: 24px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--luxury-glow);
}

.timeline-item h3 {
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}

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

.feature-box {
  background: linear-gradient(160deg, var(--surface) 0%, var(--dark-elegance) 100%);
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  border-radius: 4px;
}

.feature-box h3 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}

.layout-highlight {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 24px;
  border-left: 4px solid var(--accent);
}

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

.layout-comparison {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.header {
  background: var(--surface);
  font-weight: 600;
}

.comparison-cell {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  border-right: 1px solid var(--border);
}

.comparison-cell:last-child {
  border-right: none;
}

.comparison-row.header .comparison-cell {
  color: var(--primary);
  font-family: Georgia, serif;
}

.info-4-visual {
  margin-top: 24px;
  height: 180px;
  background-image: linear-gradient(rgba(18, 13, 2, 0.7), rgba(18, 13, 2, 0.7)), url("/images/decorative/decor_4.webp");
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.casino-premium-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-accents);
  margin-bottom: 12px;
}

.luxury-divider {
  width: 60px;
  height: 2px;
  background: var(--high-stakes);
  margin: 16px 0 24px;
}

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

  .hero-block-left,
  .hero-block-right {
    min-height: auto;
    align-self: stretch;
  }

  .hero-block-right {
    align-items: flex-start;
    text-align: left;
  }

  .hero-block-right p {
    text-align: left;
  }

  .layout-split,
  .layout-quote,
  .layout-steps,
  .layout-sidebar,
  .layout-columns-2 {
    grid-template-columns: 1fr;
  }

  .layout-cards,
  .layout-features {
    grid-template-columns: 1fr;
  }

  .layout-stats-band {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

}

@media (max-width: 768px) {
  .decor-img-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .offer-card-logo {
    width: 260px;
    height: 72px;
  }

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

@media (max-width: 375px) {
  .decor-img-wrap {
    max-width: 100%;
    max-height: 220px;
    overflow: hidden;
  }

  .decor-img-wrap img {
    max-width: 100%;
    max-height: 220px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .info-4-visual {
    max-width: 100%;
    height: 140px;
    background-size: cover;
  }

  .layout-split-visual,
  .layout-split-text {
    overflow: hidden;
  }
}
