.hero {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.5);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(212, 175, 55, 0.04) 3px,
    rgba(212, 175, 55, 0.04) 6px
  );
  pointer-events: none;
}

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

.hero h1 {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--primary);
  text-shadow: 6px 6px 0 var(--secondary), 8px 8px 0 rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 560px;
  line-height: 1.7;
}

.hero-deco {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35%;
  max-width: 350px;
  object-fit: contain;
  opacity: 0.5;
  image-rendering: pixelated;
}

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

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 0, 0, 0.82);
}

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

.offers-section h2 {
  font-family: ui-monospace, monospace;
  font-size: 1.75rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 32px;
  text-shadow: 4px 4px 0 var(--secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

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

.offer-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
  border: 3px solid #1a1a2e;
  border-radius: 12px;
  padding: 24px;
  max-width: 340px;
  width: 100%;
  box-shadow: 6px 6px 0 #1a1a2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.15s;
}

.offer-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #1a1a2e;
}

.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-wrap .offer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

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

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

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

.offer-desc {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
}

.offer-cta {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  border: 2px solid #1a1a2e;
  box-shadow: 3px 3px 0 #1a1a2e;
  cursor: pointer;
}

.offer-cta:hover {
  background: #c1121f;
}

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

.info-section:nth-child(even) {
  background: rgba(45, 0, 0, 0.5);
}

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

.info-section h2 {
  font-family: ui-monospace, monospace;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 var(--secondary);
  letter-spacing: 1px;
}

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

.info-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  text-decoration: none;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.1s;
}

.info-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

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

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

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

.step-card {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 16px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  position: relative;
  top: 0;
}

.step-card:nth-child(2) {
  top: 8px;
}

.step-card:nth-child(3) {
  top: 4px;
}

.step-num {
  font-family: ui-monospace, monospace;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.layout-stats {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 140px;
  background: var(--surface);
  border: 2px solid var(--primary);
  padding: 20px;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

.stat-num {
  font-family: ui-monospace, monospace;
  font-size: 2rem;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.layout-checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.layout-checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.layout-checklist li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-family: ui-monospace, monospace;
}

.layout-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.mosaic-item {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: 16px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.mosaic-item:nth-child(1) {
  transform: translate(-3px, 2px);
}

.mosaic-item:nth-child(4) {
  transform: translate(3px, -2px);
}

.mosaic-item h3 {
  font-family: ui-monospace, monospace;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 6px;
}

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

.layout-table th,
.layout-table td {
  border: 2px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.layout-table th {
  background: var(--surface);
  color: var(--primary);
  font-family: ui-monospace, monospace;
}

.layout-table td {
  background: rgba(45, 0, 0, 0.3);
}

.layout-banner {
  position: relative;
  background: var(--secondary);
  padding: 40px;
  border: 3px solid var(--primary);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  margin-top: 16px;
}

.layout-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(255, 0, 0, 0.05) 4px,
    rgba(255, 0, 0, 0.05) 8px
  );
}

.layout-banner p {
  position: relative;
  z-index: 1;
}

.layout-zigzag {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.zigzag-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: var(--surface);
  border-left: 4px solid var(--primary);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.zigzag-block:nth-child(even) {
  border-left-color: var(--accent);
  margin-left: 24px;
}

.zigzag-icon {
  font-family: ui-monospace, monospace;
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
}

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

.icon-block {
  text-align: center;
  padding: 20px 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.icon-block span {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.pull-quote {
  background: var(--surface);
  border: 3px solid var(--primary);
  padding: 24px;
  font-style: italic;
  font-size: 1.1rem;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  position: relative;
}

.pull-quote::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: serif;
}

.deco-inline {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  border: 3px solid var(--primary);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
  image-rendering: pixelated;
}

.deco-wrap {
  overflow: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 32px 24px;
    text-align: center;
  }

  .hero-deco {
    display: none;
  }

  .hero-sub {
    margin: 0 auto;
  }

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

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

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

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

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

  .zigzag-block:nth-child(even) {
    margin-left: 0;
  }

  .deco-inline {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
  }

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

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

  .offer-bonus {
    font-size: 0.8rem;
  }
}
