/* ============================================================
   LingerieS 中文官网 — 全局样式
   配色：象牙白 #FDF8F4 / 玫瑰木 #B8948F / 深棕 #4A3B42
        暖腮红 #D4B5A7 / 香槟金 #C4A67A
   设计理念：玫瑰木×象牙白的轻奢内衣店风格，温暖精致
   ============================================================ */

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #4A3B42;
  background-color: #FDF8F4;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* === Utility Classes === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container-narrow { max-width: 800px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === Header === */
.site-header {
  background-color: #FDF8F4;
  border-bottom: 1px solid #EDE0D8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4A3B42;
  letter-spacing: 0.06em;
}

.site-logo .logo-accent {
  color: #C4A67A;
}

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

.nav-link {
  color: #4A3B42;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: #B8948F;
  border-bottom-color: #D4B5A7;
}

/* Header CTA button */
.nav-cta {
  display: inline-block;
  background: #C4A67A;
  color: #FFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.45rem 1.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.nav-cta:hover {
  background: #B8948F;
}

/* Mobile nav toggle - pure CSS show/hide via checkbox */
.nav-checkbox { display: none; }

.nav-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #4A3B42;
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* === Footer (copyright only) === */
.site-footer {
  background-color: #4A3B42;
  color: rgba(253, 248, 244, 0.6);
  padding: 1.75rem 0;
  text-align: center;
}

.footer-copyright {
  font-size: 0.8125rem;
  line-height: 1.8;
}

/* === Hero Section (Index) === */
.hero-section {
  background: linear-gradient(160deg, #EDE0D8 0%, #FDF8F4 40%, #D4B5A7 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 25%, rgba(196, 166, 122, 0.12) 0%, transparent 55%),
              radial-gradient(ellipse at 75% 75%, rgba(184, 148, 143, 0.1) 0%, transparent 55%);
  pointer-events: none;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 700;
  color: #4A3B42;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
  position: relative;
}

.hero-title .brand {
  color: #B8948F;
}

.hero-desc {
  font-size: 1.2rem;
  color: #6B5B60;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.85;
  position: relative;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-tag {
  background: #FFFFFF;
  color: #4A3B42;
  border: 1px solid #D4B5A7;
  padding: 0.375rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* CTA Button */
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #C4A67A 0%, #B8948F 100%);
  color: #FFF;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.875rem 3rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(184, 148, 143, 0.35);
  letter-spacing: 0.04em;
  position: relative;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 148, 143, 0.45);
}

/* === Section Common === */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: #EDE0D8;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #4A3B42;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: #6B5B60;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.rule {
  max-width: 100px;
  border: none;
  border-top: 3px solid #C4A67A;
  margin: 0.75rem auto;
  border-radius: 2px;
}

/* === Sub-page Hero === */
.hero-sub {
  background: linear-gradient(180deg, #EDE0D8 0%, #FDF8F4 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero-sub h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #4A3B42;
  margin-bottom: 0.5rem;
}

.hero-sub p {
  font-size: 1.0625rem;
  color: #6B5B60;
  max-width: 600px;
  margin: 0 auto;
}

/* === Cards === */
.card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(74, 59, 66, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #EDE0D8;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(74, 59, 66, 0.1);
  transform: translateY(-3px);
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #4A3B42;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9375rem;
  color: #6B5B60;
  line-height: 1.8;
}

/* === Grid Systems === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* === Feature Grid === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EDE0D8;
  transition: all 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 4px 20px rgba(74, 59, 66, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.feature-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #4A3B42;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9375rem;
  color: #6B5B60;
  line-height: 1.8;
}

/* === Game Info Table === */
.info-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #EDE0D8;
  font-size: 0.9375rem;
}

.info-table td:first-child {
  font-weight: 600;
  color: #4A3B42;
  width: 35%;
  white-space: nowrap;
}

.info-table td:last-child {
  color: #6B5B60;
}

/* === Platform Badges === */
.platform-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.platform-badge {
  background: #FFFFFF;
  border: 1px solid #D4B5A7;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4A3B42;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, #4A3B42 0%, #6B5B60 100%);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(196, 166, 122, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(212, 181, 167, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #FDF8F4;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-desc {
  font-size: 1.0625rem;
  color: rgba(253, 248, 244, 0.75);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* === Character Card === */
.char-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(74, 59, 66, 0.06);
  border: 1px solid #EDE0D8;
  transition: all 0.3s ease;
}

.char-card:hover {
  box-shadow: 0 6px 24px rgba(74, 59, 66, 0.1);
  transform: translateY(-3px);
}

.char-visual {
  background: linear-gradient(135deg, #EDE0D8 0%, #D4B5A7 100%);
  padding: 2rem;
  text-align: center;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.char-emoji {
  font-size: 3.5rem;
  opacity: 0.55;
}

.char-info {
  padding: 1.5rem;
}

.char-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4A3B42;
  margin-bottom: 0.2rem;
}

.char-role {
  font-size: 0.8125rem;
  color: #B8948F;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.char-desc {
  font-size: 0.9375rem;
  color: #6B5B60;
  line-height: 1.8;
}

/* === Article / Guide Content === */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #4A3B42;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #D4B5A7;
}

.article p {
  font-size: 1rem;
  color: #6B5B60;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.article .tip {
  background: #EDE0D8;
  border-left: 4px solid #B8948F;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.article .tip-title {
  font-weight: 600;
  color: #4A3B42;
  margin-bottom: 0.25rem;
}

.article .tip-text {
  font-size: 0.9375rem;
  color: #6B5B60;
  line-height: 1.8;
}

/* === FAQ === */
.article-text {
  font-size: 1rem;
  color: #6B5B60;
  line-height: 1.9;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #EDE0D8;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(74, 59, 66, 0.08);
}

.faq-item .faq-q {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #4A3B42;
  margin-bottom: 0.5rem;
}

.faq-item .faq-a {
  font-size: 0.9375rem;
  color: #6B5B60;
  line-height: 1.85;
}

/* === Story Page === */
.story-section {
  max-width: 800px;
  margin: 0 auto;
}

.story-chapter {
  margin-bottom: 2.5rem;
}

.story-chapter h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #B8948F;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 3px solid #C4A67A;
}

.story-chapter p {
  font-size: 1rem;
  color: #4A3B42;
  line-height: 1.95;
  margin-bottom: 1rem;
}

/* === Disclaimer Box === */
.disclaimer-box {
  background: #EDE0D8;
  border: 1px solid #D4B5A7;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.disclaimer-title {
  font-weight: 600;
  color: #4A3B42;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: #6B5B60;
  line-height: 1.7;
}

/* === Game Images === */
.hero-img-wrap {
  max-width: 920px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(74, 59, 66, 0.18);
  display: block;
}

.char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.char-visual:has(.char-img) {
  padding: 0;
  min-height: auto;
  background: none;
}

.char-visual:has(.char-img) .char-emoji {
  display: none;
}

.screenshot {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(74, 59, 66, 0.12);
  display: block;
  margin: 1.5rem auto;
}

.story-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(74, 59, 66, 0.12);
  display: block;
  margin: 1rem auto;
}

/* === Spacing helpers === */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 2rem; }
.mt-8 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .feature-grid,
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }

  .section { padding: 3rem 0; }
  .section-title { font-size: 1.625rem; }
  .hero-sub h2 { font-size: 1.75rem; }

  .site-header .container { position: relative; }

  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FDF8F4;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #EDE0D8;
    box-shadow: 0 4px 12px rgba(74, 59, 66, 0.08);
  }

  .nav-checkbox:checked ~ nav .nav-list { display: flex; }

  .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: none;
  }

  .nav-cta {
    margin: 0.5rem 1.5rem;
  }

  .cta-title { font-size: 1.5rem; }

  .info-table td { display: block; width: 100%; padding: 0.5rem 1rem; }
  .info-table td:first-child { width: 100%; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero-title { font-size: 1.75rem; }
  .hero-section { padding: 3rem 0 2.5rem; }
  .btn-gold { padding: 0.75rem 2rem; font-size: 1rem; }
  .section { padding: 2.5rem 0; }
}
