.hero {
  position: relative;
  padding: 60px 24px;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
}

.ui-90s-retro-theme {
  image-rendering: pixelated;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.45);
  transform: scale(1.08);
}

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

.hero h1 {
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.offers-section {
  position: relative;
  padding: 60px 24px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, var(--bg) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 8px,
      rgba(190, 242, 100, 0.02) 8px,
      rgba(190, 242, 100, 0.02) 9px
    );
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(190, 242, 100, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

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

.offers-title {
  font-family: "Courier New", Courier, monospace;
  font-size: 26px;
  text-align: center;
  color: var(--primary);
  margin-bottom: 36px;
  padding: 12px 24px;
  background: linear-gradient(180deg, var(--secondary) 0%, #1e293b 50%, var(--secondary) 100%);
  border: 3px outset var(--muted);
  display: inline-block;
  width: 100%;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

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

.offer-card {
  background: linear-gradient(145deg, #1a2744 0%, #0f172a 100%);
  border: 3px outset #4a5568;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s;
}

.offer-card:hover {
  transform: translateY(-3px);
}

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

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

.offer-name {
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

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

.offer-bonus {
  font-size: 16px;
  font-weight: 600;
  color: #fbbf24;
  display: block;
  margin-bottom: 4px;
  word-break: break-word;
  line-height: 1.35;
}

.offer-terms {
  font-size: 11px;
  color: var(--muted);
}

.offer-desc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.offer-cta {
  margin-top: auto;
  width: 100%;
}

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

.info-section:nth-child(even) {
  background: rgba(15, 23, 42, 0.5);
}

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

.info-section h2 {
  font-family: "Courier New", Courier, monospace;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.info-section p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.info-cta-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  border: 2px outset var(--primary);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

.info-card {
  background: var(--surface);
  border: 2px inset var(--secondary);
  padding: 20px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.info-card h3 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: "Courier New", Courier, monospace;
}

.info-card p {
  font-size: 13px;
  margin-bottom: 0;
}

.layout-list-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 24px;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 2px solid var(--bg);
}

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

.layout-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mosaic-block {
  background: var(--surface);
  border: 3px groove var(--secondary);
  padding: 20px;
}

.decor-img {
  max-width: 100%;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border: 3px inset var(--secondary);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.layout-stat-band {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}

.stat-box {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg, var(--secondary) 0%, #1e293b 100%);
  border: 2px outset var(--muted);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.stat-box strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
  font-family: "Courier New", Courier, monospace;
}

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

.layout-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.layout-compare-table th,
.layout-compare-table td {
  padding: 12px 16px;
  border: 2px inset var(--secondary);
  text-align: left;
  color: var(--muted);
}

.layout-compare-table th {
  background: var(--secondary);
  color: var(--primary);
  font-family: "Courier New", Courier, monospace;
}

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

.icon-cell {
  text-align: center;
  padding: 20px 12px;
  background: var(--surface);
  border: 2px outset var(--secondary);
}

.icon-cell .icon-sym {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
}

.icon-cell span {
  font-size: 12px;
  color: var(--muted);
}

.layout-pullquote {
  border-left: 5px solid var(--accent);
  padding: 20px 28px;
  margin: 24px 0;
  background: rgba(190, 242, 100, 0.05);
  font-style: italic;
  color: var(--text);
  font-size: 16px;
}

.retro-window-panel {
  background: var(--surface);
  border: 3px outset var(--secondary);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.retro-titlebar {
  background: linear-gradient(90deg, var(--secondary) 0%, #475569 25%, var(--secondary) 50%, #475569 75%, var(--secondary) 100%);
  padding: 8px 14px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--muted);
}

.retro-window-body {
  padding: 20px;
}

.nostalgic-dither {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(190, 242, 100, 0.03) 2px,
    rgba(190, 242, 100, 0.03) 4px
  );
}

.skeuomorphic-frame {
  border: 4px ridge var(--secondary);
  padding: 4px;
  background: var(--bg);
  max-width: 100%;
  overflow: hidden;
}

.os-panel-ninety {
  font-family: "Courier New", Courier, monospace;
}

@media (max-width: 900px) {
  .layout-split,
  .layout-list-panel,
  .layout-mosaic {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero {
    padding: 32px 16px;
  }
}

@media (max-width: 640px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .layout-compare-table {
    font-size: 12px;
  }

  .layout-compare-table th,
  .layout-compare-table td {
    padding: 8px;
  }
}

@media (max-width: 375px) {
  .hero {
    overflow: hidden;
  }

  .hero-bg {
    transform: scale(1);
  }

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

  .info-section {
    overflow-x: hidden;
  }
}
