.themes-page {
  position: relative;
}
.themes-hero {
  position: relative;
}
.themes-hero__grid {
  align-items: center;
}
.themes-hero__content {
  min-width: 0;
}
.themes-hero__visual {
  min-width: 0;
}
.themes-hero__media {
  max-width: 30rem;
  margin-left: auto;
}
.themes-hero__floating-card {
  max-width: 18rem;
}
.themes-hero__actions {
  flex-wrap: wrap;
}
.themes-hero__cta {
  max-width: 100%;
}
.themes-hero__meta {
  row-gap: var(--space-3);
}
.themes-hero__countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
}
.themes-hero__countdown-value {
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--color-text-inverse);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.7);
}
.themes-hero__countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--font-size-xs);
  color: rgba(148, 163, 184, 0.9);
}
.themes-overview {
  padding-top: 0;
}
.themes-section-header__top {
  align-items: flex-start;
}
.themes-overview__filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.themes-overview__stats {
  margin-top: var(--space-6);
}
.themes-section {
  position: relative;
}
.themes-section__grid {
  align-items: center;
}
.themes-section__card {
  height: 100%;
}
.themes-section__split {
  margin-top: var(--space-4);
}
.themes-section__badges {
  row-gap: 0.35rem;
}
.themes-section__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.themes-section__cta {
  max-width: 100%;
}
.themes-section__image {
  width: 100%;
}
.themes-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: var(--space-4);
}
.themes-card {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  background-color: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}
.themes-card--interactive {
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}
.themes-card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.7);
  background-color: rgba(15, 23, 42, 0.04);
}
.themes-card__header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
}
.themes-card__title {
  font-size: var(--font-size-lg);
}
.themes-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}
.themes-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}
.themes-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}
.themes-list li + li {
  margin-top: 0.35rem;
}
.themes-gallery {
  margin-top: 0;
}
.themes-comedy__layout {
  margin-top: var(--space-3);
}
.themes-poker__grid {
  margin-top: var(--space-3);
}
.themes-table {
  font-size: var(--font-size-xs);
}
.themes-table th,
.themes-table td {
  white-space: nowrap;
}
.themes-final-cta__card {
  overflow: hidden;
}
.themes-final-cta__grid {
  align-items: center;
}
@media (max-width: 1023.98px) {
  .themes-hero__media {
    max-width: 24rem;
  }
}
@media (max-width: 767.98px) {
  .themes-hero__media {
    max-width: 100%;
    margin-left: 0;
  }
  .themes-hero__floating-card {
    position: static;
    margin-top: var(--space-4);
    max-width: 100%;
  }
  .themes-overview__filters {
    justify-content: flex-start;
  }
  .themes-table th,
  .themes-table td {
    white-space: normal;
  }
}
