@import url('base.css');



/* =====================================================
   乱世西游官网 - 游戏攻略页样式
   ===================================================== */

/* 页面 Hero */
.page-hero {
  position: relative;
  min-height: clamp(360px, 45vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.12) 0%, transparent 35%),
    linear-gradient(180deg, #2a1810 0%, #1a0f0a 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 44px 30px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 25%, #fbbf24 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto;
}

/* 攻略步骤区 */
.guide-section {
  padding: 4rem 0 5rem;
  position: relative;
}

.guide-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.guide-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

@media (max-width: 767px) {
  .guide-timeline::before {
    left: 20px;
  }
}

.guide-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-left: 8px;
}

.step-number {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #2a1505;
  background: linear-gradient(135deg, #fbbf24, var(--color-primary));
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.guide-step:nth-child(3n+2) .step-number {
  background: linear-gradient(135deg, #a855f7, var(--color-secondary));
  box-shadow: var(--shadow-purple);
}

.guide-step:nth-child(3n) .step-number {
  background: linear-gradient(135deg, #f87171, var(--color-accent));
  box-shadow: var(--shadow-red);
}

.step-content {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.step-content p,
.step-content li {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.step-content ul {
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
}

.step-content li {
  margin-bottom: 0.4rem;
}

.step-media {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.15);
}

.step-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 767px) {
  .guide-step {
    gap: 1rem;
    padding-left: 0;
  }
  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .guide-timeline::before {
    left: 22px;
  }
}

/* 攻略标签页 */
.guide-tabs {
  padding: 3rem 0 5rem;
}

.tab-group {
  max-width: 960px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-muted);
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.2);
  transition: all 0.2s ease;
}
.tab-btn:hover,
.tab-btn.active {
  color: #2a1505;
  background: linear-gradient(135deg, #fbbf24, var(--color-primary));
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

.tip-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.tip-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.tip-card p {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
