/* ============================================
   TopDeck.gg Publishers Page
   ============================================

   Page-specific styles layered on enhancements.css
   and subscribe-page.css (shared marketing classes).

   ============================================ */

/* ============================================
   HERO - Publisher page tweaks
   ============================================ */

.td-pub-hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
}

/* ============================================
   OP PROGRAMS - Live program logos
   ============================================ */

.td-op-logos-section {
  padding: 4rem 0;
  background: var(--td-surface-2);
}

.td-op-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

.td-op-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 200px;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.td-op-logo-item:hover {
  border-color: rgba(108, 166, 234, 0.25);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.td-op-logo-item img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.td-op-logo-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 575px) {
  .td-op-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .td-op-logo-item {
    min-width: 0;
    padding: 1.25rem 0.75rem;
    gap: 0.75rem;
  }

  .td-op-logo-item img {
    height: 44px;
    max-width: 100%;
  }

  .td-op-logo-item span {
    font-size: 0.8125rem;
    text-align: center;
  }
}

/* ============================================
   CASE STUDY - CookieRun band
   ============================================ */

.td-case-section {
  padding: 6rem 0;
  background: var(--td-surface-1);
}

.td-case-card {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(108, 166, 234, 0.08) 0%, rgba(108, 166, 234, 0.02) 100%);
  border: 1px solid rgba(108, 166, 234, 0.15);
  border-radius: 16px;
}

@media (max-width: 767px) {
  .td-case-card {
    padding: 1.5rem;
  }
}

.td-case-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6ca6ea;
  margin-bottom: 1rem;
}

.td-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============================================
   PLATFORM BAND - Engine foundation
   ============================================ */

.td-platform-section {
  padding: 6rem 0;
  background: var(--td-surface-2);
}

.td-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 575px) {
  .td-checklist {
    grid-template-columns: 1fr;
  }
}

.td-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
}

.td-checklist-item i {
  color: #22c55e;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.td-platform-visual img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ============================================
   BIG STAGE - Championship-scale tooling
   ============================================ */

.td-bigstage-section {
  padding: 6rem 0;
  background: var(--td-surface-1);
}

/* ============================================
   WHY TOPDECK - Differentiators
   ============================================ */

.td-why-section {
  padding: 6rem 0;
  background: var(--td-surface-2);
}

.td-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .td-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .td-why-grid {
    grid-template-columns: 1fr;
  }
}

.td-why-card {
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.td-why-card:hover {
  border-color: rgba(108, 166, 234, 0.2);
  transform: translateY(-2px);
}

.td-why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 166, 234, 0.15);
  color: #6ca6ea;
  border-radius: 12px;
  font-size: 1.25rem;
}

.td-why-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.625rem;
}

.td-why-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* ============================================
   STEPS - Text-only variant
   ============================================ */

.td-steps-grid.td-steps-text .td-step {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
