.subpage-hero {
  padding: 56px 20px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(251, 113, 133, 0.15) 100%);
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, transparent 70%);
  border-radius: 55% 45% 50% 50%;
}

.subpage-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.subpage-hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.subpage-hero-img {
  border-radius: 24px;
  overflow: hidden;
  max-width: 500px;
  max-height: 320px;
  margin-left: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.subpage-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 320px;
}

@media (max-width: 768px) {
  .subpage-hero-inner {
    grid-template-columns: 1fr;
  }

  .subpage-hero-img {
    margin: 0 auto;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .subpage-hero-img {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .subpage-hero-img img {
    max-width: 100%;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
  }
}

.subpage-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

.subpage-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
}

.sidebar-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.sidebar-nav h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a {
  color: var(--text);
  font-size: 14px;
}

.sidebar-nav a:hover {
  color: var(--primary);
}

.subpage-main h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 36px 0 14px;
  font-weight: 700;
}

.subpage-main h2:first-child {
  margin-top: 0;
}

.subpage-main p {
  color: rgba(255, 241, 242, 0.85);
  margin-bottom: 16px;
  line-height: 1.7;
}

.bonus-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.bonus-type-card {
  padding: 20px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.bonus-type-card h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}

.bonus-type-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .subpage-content {
    grid-template-columns: 1fr;
  }

  .subpage-sidebar {
    position: static;
  }

  .bonus-types-grid {
    grid-template-columns: 1fr;
  }
}

.callout-box {
  padding: 24px;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.12), rgba(249, 115, 22, 0.08));
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
}

.callout-box p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--muted);
}
