/* ============================================
   DMGDZGW.CN | 大满贯电子官网 · 决胜巅峰
   设计风格：柔光渐变 · 温暖艺术 · 珊瑚紫调
   ============================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: linear-gradient(135deg, #fbf5f0 0%, #f0e9f0 50%, #faf0f5 100%);
  color: #2d2d2d;
  line-height: 1.6;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

/* ---------- 自定义滚动条（浅色质感） ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f2eef0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #cebfd3;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b7a6bd;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 245, 0.88);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(206, 191, 211, 0.2);
  box-shadow: 0 2px 20px rgba(150, 130, 160, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #3a2a3a;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #ff7b54, #e8a87c);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 123, 84, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4f3f4f;
  transition: all 0.25s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff7b54, #d9a5b3);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: #ff5a2e;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #ff7b54, #e0876a);
  box-shadow: 0 4px 14px rgba(255, 123, 84, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 123, 84, 0.35);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3a2a3a;
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- 首页Hero ---------- */
.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(231, 195, 210, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 123, 84, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffe6d9, #f5d6e2);
  color: #6d4b5a;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2a1f2a;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #ff7b54, #d68f7c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 32px;
  color: #4f3f4f;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(160, 130, 150, 0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.9rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff7b54, #e0876a);
  box-shadow: 0 4px 14px rgba(255, 123, 84, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 123, 84, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #cebfd3;
  color: #4f3f4f;
}

.btn-outline:hover {
  border-color: #ff7b54;
  background: rgba(255, 123, 84, 0.06);
  color: #ff5a2e;
}

/* ---------- 标签/标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #b097a9;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #2a1f2a;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #5a4a5a;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(206, 191, 211, 0.25);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff7b54, #e8a87c);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(160, 130, 150, 0.12);
  border-color: rgba(255, 123, 84, 0.3);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f5e4ed, #efe0f0);
  color: #6d4b5a;
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.6);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #ff7b54;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover {
  gap: 8px;
}

.card-link:hover::after {
  transform: translateX(2px);
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(150, 130, 160, 0.1);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 8px 0;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3a2a3a;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #ff7b54;
  background: rgba(255, 123, 84, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(206, 191, 211, 0.2);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff7b54, #d68f7c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  color: #5a4a5a;
  font-weight: 500;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(206, 191, 211, 0.2);
  background: #fff;
  transition: all 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(160, 130, 150, 0.15);
  border-color: rgba(255, 123, 84, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 20px 22px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a1f2a;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.6;
  color: #4f3f4f;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(206, 191, 211, 0.25);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(255, 123, 84, 0.3);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2a1f2a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #ff7b54;
  transition: transform 0.2s;
  font-weight: 300;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #4f3f4f;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #8b6f8e 0%, #b4849a 40%, #e8a87c 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #6d4b5a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: rgba(240, 230, 235, 0.3);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(206, 191, 211, 0.2);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: #3a2a3a;
}

.footer-brand .logo-icon {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 10px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a1f2a;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  color: #5a4a5a;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ff7b54;
}

.footer-bottom {
  border-top: 1px solid rgba(206, 191, 211, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #7a6a7a;
}

.footer-bottom a {
  color: #7a6a7a;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ff7b54;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #ff7b54;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a4a5a;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- 辅助装饰 ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(206, 191, 211, 0.2);
  border-radius: 16px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(206, 191, 211, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-cta {
    align-self: flex-start;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}