/* style.css - 金年会官方网站 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: #f5efe6;
  color: #1e2a3a;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
body.dark {
  background: #0b1a2e;
  color: #e7eaf0;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}
.dark .glass {
  background: rgba(10, 20, 40, 0.4);
  border-color: rgba(255, 255, 255, 0.03);
}
:root {
  --gold: #b38b5b;
  --gold-light: #dabf8e;
  --deep: #0b1a2e;
  --cream: #f5efe6;
  --shadow: rgba(0, 0, 0, 0.04);
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: #f5efe6;
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: #a07a4a;
  transform: scale(0.97);
}
.section-title {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.dark .section-title {
  color: #f0f2f5;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 780px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}
.dark header {
  background: rgba(11, 26, 46, 0.7);
  border-color: rgba(255, 255, 255, 0.02);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.5px;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.75;
  transition: 0.2s;
}
nav a:hover, nav a.active {
  opacity: 1;
  color: var(--gold);
}
.dark nav a {
  color: #cfdbe8;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
@media (max-width: 900px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    border-radius: 0 0 32px 32px;
  }
  .dark nav {
    background: #0b1a2e;
  }
  .menu-toggle {
    display: block;
  }
  nav.open {
    display: flex;
  }
}
.dark-mode-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  color: inherit;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  margin: 24px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #e2d9cc, #f5efe6);
}
.dark .hero {
  background: linear-gradient(145deg, #0f2037, #0b1a2e);
}
.hero-slide {
  display: none;
  width: 100%;
  padding: 48px 40px;
}
.hero-slide.active {
  display: block;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 700px;
}
.hero p {
  font-size: 1.3rem;
  margin: 24px 0 32px;
  opacity: 0.8;
}
.hero-controls {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 12px;
}
.hero-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 40px;
  padding: 12px 20px;
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-weight: bold;
}
section {
  padding: 80px 0;
}
.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
  border-radius: 36px;
  padding: 32px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.dark .card {
  background: rgba(20, 35, 55, 0.5);
  border-color: rgba(255, 255, 255, 0.02);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.04);
}
.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
}
.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 20px 0;
  cursor: pointer;
}
.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}
#backtotop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--gold);
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 60px;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: none;
  z-index: 200;
}
#backtotop.show {
  display: block;
}
footer {
  padding: 48px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  font-size: 0.9rem;
}
.dark footer {
  border-color: rgba(255, 255, 255, 0.02);
}
.lazy {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.lazy.visible {
  opacity: 1;
  transform: translateY(0);
}
.search-input {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  padding: 12px 24px;
  width: 240px;
}
.dark .search-input {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}
.tag {
  background: var(--gold);
  color: #f5efe6;
  border-radius: 40px;
  padding: 4px 16px;
  font-size: 0.75rem;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  opacity: 0.6;
}