/* =====================================================
   POKÉLANDS – Launcher Page Styles
   ===================================================== */
@import url('./style.css');

/* ---- Launcher Hero ---- */
.launcher-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,158,26,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(229,90,0,0.12) 0%, transparent 55%),
    var(--bg-deep);
  z-index: 1;
}

.launcher-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- Download Cards ---- */
.download-section { background: var(--bg-dark); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

@media (max-width: 860px) {
  .download-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 60px; }
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: all var(--transition);
}
.download-card:hover {
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.download-card--featured {
  border-color: rgba(232,158,26,0.4);
  background: linear-gradient(180deg, rgba(232,158,26,0.07), var(--bg-card));
  box-shadow: var(--shadow-glow-gold);
}

.dl-os-icon {
  font-size: 2.5rem;
  width: 70px; height: 70px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-os-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.dl-version {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.dl-size {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.dl-requirements {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---- Install Steps ---- */
.install-steps { background: var(--bg-deep); }

.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 860px) {
  .install-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .install-steps-grid { grid-template-columns: 1fr; }
}

/* Connector line between steps */
.install-steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-orange-bright));
  opacity: 0.4;
  pointer-events: none;
}

.install-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.install-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,158,26,0.45);
  flex-shrink: 0;
}
.install-step-icon { font-size: 1.6rem; }
.install-step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.install-step-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ---- FAQ ---- */
.faq-section { background: var(--bg-dark); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--bg-glass); }

.faq-chevron {
  width: 20px; height: 20px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
