.section-themes-hero {
  position: relative;
}
.section-themes-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 122, 26, 0.22), transparent 60%), radial-gradient(circle at 100% 0%, rgba(47, 123, 255, 0.22), transparent 60%);
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}
.section-themes-hero .section-inner {
  position: relative;
  z-index: 1;
}
.themes-hero-media {
  max-width: 520px;
  margin-inline: auto;
}
.themes-hero-cta-row {
  flex-wrap: wrap;
  gap: var(--space-md);
}
.themes-hero-pill {
  margin-left: auto;
}
.section-themes-popular .section-inner,
.section-themes-gallery .section-inner,
.section-themes-custom .section-inner,
.section-themes-how .section-inner {
  position: relative;
  z-index: 1;
}
.themes-section-header .kicker {
  color: var(--color-secondary);
}
.themes-popular-layout {
  align-items: stretch;
}
.themes-popular-card {
  height: 100%;
}
.themes-popular-grid {
  margin-top: var(--space-md);
}
.themes-popular-item {
  height: 100%;
}
.themes-popular-footer {
  margin-top: var(--space-lg);
  gap: var(--space-md);
}
.themes-popular-footer .button {
  white-space: nowrap;
}
.themes-bullet-list {
  list-style: none;
  padding-left: 0;
}
.themes-bullet-list li {
  position: relative;
  padding-left: 1.1rem;
}
.themes-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffd166, #ff7a1a);
}
.themes-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap-lg);
}
.themes-gallery-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  background: rgba(5, 8, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}
.themes-gallery-media {
  position: relative;
}
.themes-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.themes-gallery-caption {
  padding: var(--space-md) var(--space-lg);
}
.themes-gallery-bottom {
  margin-top: var(--space-lg);
}
.themes-custom-card {
  overflow: visible;
}
.themes-custom-grid {
  margin-top: var(--space-md);
}
.themes-custom-accordion .accordion-header {
  background: transparent;
}
.themes-custom-accordion .accordion-panel {
  padding-bottom: 1rem;
}
.themes-custom-footer {
  margin-top: var(--space-lg);
  gap: var(--space-md);
}
.section-themes-how {
  position: relative;
}
.section-themes-how::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 65%);
  opacity: 0.8;
  pointer-events: none;
}
.section-themes-how .section-inner {
  position: relative;
  z-index: 1;
}
.themes-steps {
  max-width: var(--container-lg);
  margin-inline: auto;
}
.themes-steps-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--grid-gap-md);
}
.themes-step-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-md);
  align-items: flex-start;
}
.themes-step-number {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-sm);
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.9), rgba(47, 123, 255, 0.9));
  color: var(--color-text-on-primary);
  box-shadow: var(--shadow-soft);
}
.themes-step-content {
  min-width: 0;
}
.themes-step-content h3 {
  margin-bottom: var(--space-xs);
}
.themes-how-cta {
  margin-top: var(--space-xl);
}
.themes-how-cta-buttons {
  max-width: 100%;
}
.themes-how-cta .button-group {
  justify-content: flex-end;
}
.themes-how-cta .button {
  max-width: 100%;
}
@media (max-width: 991.98px) {
  .themes-hero-pill {
    margin-left: 0;
  }
  .themes-popular-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .themes-popular-footer .button {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .themes-hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .themes-hero-pill {
    width: 100%;
  }
  .themes-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .themes-gallery-caption {
    padding-inline: var(--space-md);
  }
  .themes-custom-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .themes-custom-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .themes-custom-footer .button {
    width: 100%;
    text-align: center;
  }
  .themes-step-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .themes-step-number {
    width: 2.1rem;
    height: 2.1rem;
  }
  .themes-how-cta .flex-row-md {
    flex-direction: column;
  }
  .themes-how-cta {
    padding-inline: var(--space-md);
  }
  .themes-how-cta .button-group {
    width: 100%;
  }
  .themes-how-cta .button-group .button {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 479.98px) {
  .themes-gallery-caption {
    padding-inline: var(--space-sm);
  }
}
