/* ═══════════════════════════════════════════
   Section Landing Pages — Explore, Learn, Visit, My Cellar
   ═══════════════════════════════════════════ */

.landing-page {
  min-height: 100%;
  overflow-y: auto;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-title {
  font-family: var(--font-subhead);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin: 0 0 0.25rem;
}

.landing-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-light);
  text-align: center;
  margin: 0 0 2rem;
  font-style: italic;
}

/* ── Illustrated container ────────────────── */
.landing-illustration {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* ── Clickable feature items ─────────────── */
.landing-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--cream-dark, #DED8CA);
}
.landing-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.9);
}

.landing-feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-feature-icon svg {
  width: 100%;
  height: 100%;
}

.landing-feature-name {
  font-family: var(--font-subhead);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.landing-feature-desc {
  font-size: 0.72rem;
  color: var(--ink-light);
  line-height: 1.4;
}

/* ── Grid layouts ────────────────────────── */
.landing-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
}
.landing-grid--3 { grid-template-columns: repeat(3, 1fr); }
.landing-grid--4 { grid-template-columns: repeat(4, 1fr); }
.landing-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 480px) {
  .landing-grid--3, .landing-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .landing-grid--3, .landing-grid--4, .landing-grid--2 { grid-template-columns: 1fr; }
}

/* ── Explore: Map aesthetic ──────────────── */
.landing-explore {
  background: linear-gradient(180deg, var(--cream, #F5F1E8) 0%, #EDE5D4 100%);
}
.landing-explore .landing-feature {
  background: rgba(245,239,230,0.8);
  border-color: rgba(184,148,62,0.2);
}
.landing-explore .landing-feature:hover {
  border-color: var(--gold, #C9A961);
}

/* ── Learn: Tasting bar aesthetic ────────── */
.landing-learn {
  background: linear-gradient(180deg, var(--cream, #F5F1E8) 0%, #EDE5D4 100%);
  color: var(--ink);
}
.landing-learn .landing-title { color: var(--ink); }
.landing-learn .landing-subtitle { color: var(--ink-light, #6B6B6B); }
.landing-learn .landing-feature {
  background: rgba(245,239,230,0.8);
  border-color: rgba(184,148,62,0.2);
  color: var(--ink);
}
.landing-learn .landing-feature:hover {
  background: rgba(255,255,255,0.9);
  border-color: var(--gold, #C9A961);
}
.landing-learn .landing-feature-name { color: var(--ink); }
.landing-learn .landing-feature-desc { color: var(--ink-light, #6B6B6B); }

/* ── Visit: Passport aesthetic ───────────── */
.landing-visit {
  background: linear-gradient(180deg, var(--cream, #F5F1E8) 0%, #E8DFD0 100%);
}
.landing-visit .landing-feature {
  background: rgba(255,253,248,0.9);
  border-color: rgba(114,47,55,0.12);
}
.landing-visit .landing-feature:hover {
  border-color: var(--maroon, #722F37);
}

/* ── My Cellar: Warm ambient ─────────────── */
.landing-cellar {
  background: linear-gradient(180deg, var(--cream, #F5F1E8) 0%, #EDE5D4 100%);
  color: var(--ink);
}
.landing-cellar .landing-title { color: var(--ink); }
.landing-cellar .landing-subtitle { color: var(--ink-light, #6B6B6B); }
.landing-cellar .landing-feature {
  background: rgba(245,239,230,0.8);
  border-color: rgba(184,148,62,0.2);
  color: var(--ink);
}
.landing-cellar .landing-feature:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(184,148,62,0.4);
}
.landing-cellar .landing-feature-name { color: var(--ink); }
.landing-cellar .landing-feature-desc { color: var(--ink-light, #6B6B6B); }

/* ── Decorative section header ───────────── */
.landing-deco {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 800px;
}
.landing-deco::before,
.landing-deco::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cream-dark, #DED8CA);
}
.landing-learn .landing-deco::before,
.landing-learn .landing-deco::after,
.landing-cellar .landing-deco::before,
.landing-cellar .landing-deco::after {
  background: var(--cream-dark, #DED8CA);
}
.landing-deco-text {
  font-family: var(--font-subhead);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--ink-light, #6B6B6B);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.landing-learn .landing-deco-text,
.landing-cellar .landing-deco-text { color: var(--ink-light, #6B6B6B); }

/* ── Sectioned layout ─────────────────────── */
.landing-section {
  margin-bottom: 32px;
  width: 100%;
  max-width: 960px;
}
.landing-section-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink, #1A1A1A);
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cream-dark, #E8E0D4);
}
.landing-section-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-light, #4A4A4A);
  margin: 0 0 16px;
}
.landing-section .cc-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
@media (max-width: 480px) {
  .landing-section .cc-grid { grid-template-columns: 1fr; }
  .landing-section-heading { font-size: 1.05rem; }
}

/* ═══════════════════════════════════════════
   Play Radar Chart
   ═══════════════════════════════════════════ */

.play-radar-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
}
.play-radar-svg {
  width: 100%;
  height: auto;
}

.play-radar-label {
  transition: fill 0.2s, font-size 0.2s, font-weight 0.2s;
  user-select: none;
}
.play-radar-dot {
  transition: r 0.2s, opacity 0.2s;
}
.play-radar-poly {
  transition: d 0.4s ease-out;
}

/* ── Axis Filter Chips ───────────────────── */
.play-axis-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
  max-width: 800px;
  padding: 0 1rem;
}
.play-axis-chip {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--cream-dark, #DED8CA);
  background: rgba(255,255,255,0.5);
  color: var(--ink, #1A1A1A);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-axis-chip:hover {
  border-color: #722F37;
  color: #722F37;
}
.play-axis-chip.active {
  background: #722F37;
  color: #fff;
  border-color: #722F37;
}

/* ── Module grid filtering ───────────────── */
.play-module-grid {
  width: 100%;
  max-width: 960px;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 640px) {
  .play-radar-wrap {
    max-width: 320px;
  }
  .play-axis-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .play-axis-chips::-webkit-scrollbar {
    display: none;
  }
}
