main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -120px;
  left: -100px;
  filter: blur(60px);
  animation: exploration-zoom 20s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(146, 64, 14, 0.12);
  bottom: -80px;
  right: 15%;
  filter: blur(40px);
}

@keyframes exploration-zoom {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

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

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 200;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  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: rgba(0, 0, 0, 0.82);
}

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

.offers-heading {
  text-align: center;
  margin-bottom: 40px;
}

.offers-heading h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 8px;
}

.offers-heading p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.offer-card {
  background: linear-gradient(160deg, #1a2332 0%, #0d1117 100%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.offer-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.15);
}

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

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

.offer-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

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

.offer-bonus {
  font-size: 15px;
  font-weight: 600;
  color: #4ade80;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.offer-terms {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.offer-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 16px;
}

.offer-cta {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: auto;
}

.offer-cta:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: scale(1.03);
}

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

.info-section:nth-child(even) {
  background: var(--surface);
}

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

.info-section h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 24px;
}

.info-section p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.info-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--secondary);
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
}

.info-cta:hover {
  background: #1e293b;
  transform: translateX(4px);
}

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

.layout-split-reverse {
  direction: rtl;
}

.layout-split-reverse > * {
  direction: ltr;
}

.info-inner {
  overflow: hidden;
  max-width: 100%;
}

.decor-img {
  max-width: 100%;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

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

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

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

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

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

.layout-orbit {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.orbit-viz {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  animation: orbit-spin 30s linear infinite;
}

.orbit-viz::before,
.orbit-viz::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.orbit-viz::before {
  inset: 20px;
  animation: orbit-spin 20s linear infinite reverse;
}

.orbit-viz::after {
  inset: 50px;
  background: var(--primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

@keyframes orbit-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orbit-content {
  flex: 1;
}

.layout-list-highlight {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.highlight-list {
  list-style: none;
}

.highlight-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.layout-band {
  background: var(--secondary);
  margin: 0 -24px;
  padding: 48px 24px;
  color: rgba(255, 255, 255, 0.9);
}

.layout-band h2 {
  color: var(--primary);
}

.layout-band p {
  color: rgba(255, 255, 255, 0.8);
}

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

.mosaic-sidebar {
  position: relative;
}

.mosaic-sidebar::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
  z-index: -1;
}

.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(--accent));
}

.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(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

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

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

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

.stat-block {
  text-align: center;
  padding: 20px 12px;
  background: rgba(15, 23, 42, 0.04);
}

.stat-num {
  font-size: 28px;
  font-weight: 200;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

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

.pull-quote {
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  line-height: 1.5;
  padding: 24px;
  border-left: 4px solid var(--primary);
}

.layout-zigzag {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.zigzag-row:nth-child(even) {
  direction: rtl;
}

.zigzag-row:nth-child(even) > * {
  direction: ltr;
}

.cosmos-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
  background-size: 40px 40px;
}

.science-accent {
  color: var(--accent);
  font-weight: 600;
}

.vast-space-bg {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 23, 42, 0.03) 100%);
}

.dark-cosmos-panel {
  background: #000000;
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 24px;
  margin: 0 -24px;
}

.dark-cosmos-panel h2 {
  color: var(--primary);
}

.dark-cosmos-panel p {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .hero {
    padding: 40px 20px;
  }

  .layout-split,
  .layout-list-highlight,
  .layout-mosaic,
  .layout-quote,
  .zigzag-row {
    grid-template-columns: 1fr;
  }

  .layout-split-reverse,
  .zigzag-row:nth-child(even) {
    direction: ltr;
  }

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

  .layout-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-orbit {
    flex-direction: column;
    align-items: center;
  }

  .orbit-viz {
    width: 140px;
    height: 140px;
  }

  .offers-section {
    background-attachment: scroll;
  }

  .offer-logo-wrap {
    width: 100px;
    height: 50px;
  }

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

  .offer-bonus {
    font-size: 13px;
  }

  .layout-band {
    margin: 0;
    padding: 48px 16px;
  }

  .dark-cosmos-panel {
    margin: 0;
    padding: 48px 16px;
  }

  .decor-img {
    max-height: 220px;
  }
}

@media (max-width: 375px) {
  .decor-img {
    max-height: 180px;
  }

  .info-section {
    padding: 48px 16px;
  }

  .offers-section {
    padding: 48px 16px;
  }
}
