/* ==========================================================================
   魔戒机场 (mojiejc.cyou) - 绝美高洁白 + 左右“小魔戒”浮光样式系统
   ========================================================================== */

:root {
  /* 高级好看的白色背景色系 */
  --bg-dark: #fcfbf9;
  --bg-card: #ffffff;
  --bg-card-hover: #fffdf9;
  --bg-secondary: #f6f5f0;
  
  /* 魔戒（Magic Ring）古金主色系 */
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: rgba(217, 119, 6, 0.1);
  --accent: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  --gold-radial: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.04) 55%, transparent 75%);
  
  /* 文字与边框 */
  --text-main: #1c1917;
  --text-muted: #44403c;
  --text-dim: #78716c;
  
  --border: rgba(217, 119, 6, 0.2);
  --border-active: rgba(217, 119, 6, 0.6);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -5px rgba(217, 119, 6, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 12px 30px -5px rgba(217, 119, 6, 0.28);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 10% 10%, rgba(254, 243, 199, 0.4) 0px, transparent 50%),
    radial-gradient(at 90% 40%, rgba(253, 230, 138, 0.3) 0px, transparent 50%),
    radial-gradient(at 15% 85%, rgba(254, 243, 199, 0.4) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   左右“小魔戒”浮光背景装饰 (Floating Magic Rings Background)
   ========================================================================== */
.magic-ring-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.magic-ring-decor {
  position: absolute;
  opacity: 0.75;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.45));
  animation: floatMagicRing 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.ring-left-top {
  top: 120px;
  left: 2%;
  width: 110px;
  height: 110px;
  animation-duration: 7s;
}

.ring-right-top {
  top: 200px;
  right: 2.5%;
  width: 130px;
  height: 130px;
  animation-duration: 9.5s;
  animation-delay: -2s;
}

.ring-left-mid {
  top: 950px;
  left: 1.8%;
  width: 95px;
  height: 95px;
  animation-duration: 8.5s;
  animation-delay: -3s;
}

.ring-right-mid {
  top: 1350px;
  right: 2%;
  width: 115px;
  height: 115px;
  animation-duration: 10s;
  animation-delay: -1.5s;
}

.ring-left-bot {
  top: 2100px;
  left: 2.5%;
  width: 105px;
  height: 105px;
  animation-duration: 9s;
  animation-delay: -4s;
}

.ring-right-bot {
  top: 2700px;
  right: 2.2%;
  width: 120px;
  height: 120px;
  animation-duration: 8s;
  animation-delay: -2.5s;
}

@keyframes floatMagicRing {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-16px) rotate(12deg) scale(1.04);
  }
  100% {
    transform: translateY(10px) rotate(-8deg) scale(0.97);
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.18);
  padding: 0.9rem 0;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.02em;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(217, 119, 6, 0.3));
  transition: transform 0.25s ease;
}

.brand-logo:hover img {
  transform: scale(1.06) rotate(3deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 按钮设计 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #fffdf9;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-recommend {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-recommend:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 6rem 0 4.5rem;
  position: relative;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 750px;
  background: var(--gold-radial);
  z-index: 0;
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.09);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #b45309;
  padding: 0.45rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1.85rem;
  box-shadow: 0 3px 12px rgba(217, 119, 6, 0.12);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #1c1917;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 18px rgba(217, 119, 6, 0.18);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-features-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-features-list svg {
  color: #d97706;
}

/* ==========================================================================
   Section Layout
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.price-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  box-shadow: 0 12px 35px rgba(217, 119, 6, 0.16);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 1.5rem;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.price-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.price-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: #b45309;
  line-height: 1;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.price-traffic {
  display: inline-block;
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 0.75rem;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.price-features svg {
  color: #d97706;
  flex-shrink: 0;
}

/* ==========================================================================
   Features & Articles
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(217, 119, 6, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  font-size: 1.7rem;
  border: 1px solid rgba(217, 119, 6, 0.22);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.65rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.article-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.article-title a {
  color: #1c1917;
}

.article-title a:hover {
  color: var(--primary);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   User Reviews & FAQ
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}

.review-user {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 800;
  color: #1c1917;
  font-size: 0.98rem;
}

.review-role {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.6rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1c1917;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
  font-size: 0.9rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.6rem 1.35rem 1.6rem;
}

/* Article detail styling */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-muted);
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #292524;
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.article-content h1 {
  font-size: 2.25rem;
  color: #1c1917;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-content h2 {
  font-size: 1.75rem;
  color: #1c1917;
  margin: 2.5rem 0 1.25rem;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

.article-content h3 {
  font-size: 1.35rem;
  color: #292524;
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.article-cta-box h3 {
  font-size: 1.5rem;
  color: #1c1917;
  margin-bottom: 1rem;
}

.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Footer & PBN Backlink Pipeline (核心任务 2)
   ========================================================================== */
footer {
  background: #1c1917;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  color: #a8a29e;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.footer-nav a {
  color: #d6d3d1;
  font-weight: 500;
}

.footer-nav a:hover {
  color: #f59e0b;
}

.pbn-links-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem 0;
  font-size: 0.82rem;
  color: #78716c;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.pbn-links-area span {
  color: #78716c;
}

.pbn-links-area a {
  color: #d6d3d1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.pbn-links-area a:hover {
  color: #f59e0b;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #78716c;
}

/* Responsive */
@media (max-width: 1200px) {
  .magic-ring-decor {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.0rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .article-content {
    padding: 1.5rem;
  }
}
