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

.hero-decor {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 720px);
  max-width: 560px;
  max-height: 360px;
  object-fit: contain;
  opacity: 0.18;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 0;
}

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

.hero h1 {
  font-family: var(--pixel);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  image-rendering: pixelated;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
  margin-bottom: 12px;
}

.hero-sub {
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(42, 14, 5, 0.9), rgba(42, 14, 5, 0.94)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.1), transparent 55%);
  pointer-events: none;
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.offers-title {
  text-align: center;
  font-family: var(--pixel);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--accent);
  margin-bottom: 10px;
  image-rendering: pixelated;
}

.offers-intro {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

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

.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: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s;
  overflow: hidden;
  animation: bevelPulse 3s ease-in-out infinite;
}

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

.offer-card-inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
  flex: 1;
}

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

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

.offer-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.offer-bonus-group {
  width: 100%;
  max-width: 100%;
}

.offer-bonus {
  font-size: clamp(12px, 2.8vw, 15px);
  font-weight: 600;
  color: #fbbf24;
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.offer-terms {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

.offer-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
}

.offer-cta {
  margin-top: auto;
  display: inline-block;
  padding: 10px 16px;
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px outset #f59e0b;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.offer-cta:hover {
  color: #111827;
  filter: brightness(1.05);
  text-decoration: none;
}

@media (max-width: 640px) {
  .hero {
    padding: 32px 16px;
  }

  .hero-decor {
    display: none;
    max-width: 100%;
  }

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

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

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

  .offer-bonus {
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
