/* ============================================
   爱游戏(AYX) 官方网站 - 完整样式表
   风格：现代科技 + 渐变 + 毛玻璃 + 响应式
   版本：1.0
   ============================================ */

/* ===== 基础重置与全局变量 ===== */
:root {
  --primary: #ff6b35;
  --primary-light: #ffa500;
  --primary-gradient: linear-gradient(135deg, #ff6b35, #ffa500);
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-dark-secondary: #16213e;
  --text-light: #333;
  --text-dark: #e0e0e0;
  --card-light: #ffffff;
  --card-dark: #1e2a3a;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

body.dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* ===== 容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e55a2b;
}

/* ===== 选中文本 ===== */
::selection {
  background: var(--primary);
  color: #fff;
}

/* ===== 头部 (Header) ===== */
header {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-secondary));
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(26, 26, 46, 0.95);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.85;
}

.logo svg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  transition: transform var(--transition);
}

.logo:hover svg {
  transform: rotate(-5deg) scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  font-size: 15px;
  position: relative;
  font-weight: 500;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition);
  border-radius: 1px;
}

nav a:hover::after,
nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

nav a:hover,
nav a.active {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 24px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.search-box input {
  padding: 8px 12px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  background: transparent;
  color: #fff;
  outline: none;
  width: 180px;
  transition: all var(--transition);
  font-size: 14px;
}

.search-box input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
  width: 220px;
}

.search-box input::placeholder {
  color: #aaa;
}

.search-box button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 600;
}

.search-box button:hover {
  background: #e55a2b;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.dark-toggle {
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
  transition: all var(--transition);
  line-height: 1;
}

.dark-toggle:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(20deg);
}

/* ===== 英雄区 (Hero) ===== */
.hero {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-secondary), #0f3460);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10%, -5%); }
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.1s both;
  position: relative;
  z-index: 1;
}

.hero .btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
  background: #e55a2b;
}

.hero .btn:active {
  transform: translateY(-1px);
}

/* ===== 轮播 (Carousel) ===== */
.hero-carousel {
  position: relative;
  height: 400px;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.hero-carousel .slide.active {
  opacity: 1;
}

.hero-carousel .slide-content {
  max-width: 600px;
  text-align: center;
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-carousel .slide-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--primary);
  text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.hero-carousel .slide-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
  transition: width var(--transition);
}

.section-title:hover::after {
  width: 80px;
}

/* ===== 网格布局 ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== 卡片 ===== */
.card {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

body.dark .card {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-dark);
}

body.dark .card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.05) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--bg-dark);
  transition: color var(--transition);
}

body.dark .card h3 {
  color: var(--primary);
}

.card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

body.dark .card p {
  color: #bbb;
}

/* ===== 统计数据 ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-secondary));
  color: #fff;
  padding: 60px 20px;
  border-radius: var(--radius-lg);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1), transparent 60%);
  pointer-events: none;
}

.stat-item {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease both;
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.1s; }
.stat-item:nth-child(3) { animation-delay: 0.2s; }
.stat-item:nth-child(4) { animation-delay: 0.3s; }

.stat-item h3 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* ===== 团队卡片 ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .team-card {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

body.dark .team-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-gradient);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover .avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.team-card h4 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--bg-dark);
}

body.dark .team-card h4 {
  color: var(--primary);
}

.team-card p {
  font-size: 14px;
  color: #666;
}

body.dark .team-card p {
  color: #bbb;
}

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: var(--radius-sm);
  padding-left: 10px;
  padding-right: 10px;
}

.faq-item:hover {
  background: rgba(255, 107, 53, 0.03);
}

body.dark .faq-item {
  border-color: #333;
}

body.dark .faq-item:hover {
  background: rgba(255, 107, 53, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--bg-dark);
  transition: color var(--transition);
}

body.dark .faq-question {
  color: var(--primary);
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 20px;
  color: var(--primary);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-top: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 15px;
}

.faq-answer p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

body.dark .faq-answer p {
  color: #bbb;
}

/* ===== 联系信息 ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark .contact-item {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.05);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

body.dark .contact-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.contact-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-item p {
  font-size: 15px;
  color: #555;
}

body.dark .contact-item p {
  color: #bbb;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: transparent;
  padding: 15px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity var(--transition);
}

.breadcrumb a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.breadcrumb span {
  color: #999;
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: #e55a2b;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* ===== 页脚 ===== */
footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0 30px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

footer h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 8px;
}

footer ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

footer ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
}

.footer-bottom p {
  margin-bottom: 5px;
}

/* ===== 动画关键帧 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== 滚动动画 (Intersection Observer 配合) ===== */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 - 平板 ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-carousel {
    height: 350px;
  }

  .section-title {
    font-size: 32px;
  }

  .stats {
    padding: 40px 20px;
  }

  .stat-item h3 {
    font-size: 40px;
  }
}

/* ===== 响应式 - 手机 ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    gap: 10px;
    background: rgba(26, 26, 46, 0.98);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 107, 53, 0.2);
  }

  nav ul.open {
    display: flex;
  }

  nav a {
    padding: 10px 15px;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-carousel {
    height: 280px;
    margin-top: 30px;
  }

  .hero-carousel .slide-content h2 {
    font-size: 24px;
  }

  .hero-carousel .slide-content p {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .search-box input {
    width: 120px;
  }

  .search-box input:focus {
    width: 150px;
  }

  .dark-toggle {
    margin-left: 0;
    margin-top: 10px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 15px;
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 10px 0;
  }
}

/* ===== 响应式 - 小屏手机 ===== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-carousel {
    height: 220px;
  }

  .hero-carousel .slide-content h2 {
    font-size: 20px;
  }

  .hero-carousel .slide-content p {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px 10px;
  }

  .stat-item h3 {
    font-size: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    font-size: 20px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .search-box input {
    width: 100px;
  }

  .search-box button {
    padding: 6px 12px;
    font-size: 12px;
  }

  .card {
    padding: 20px;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .card h3 {
    font-size: 18px;
  }

  .hero .btn {
    padding: 12px 28px;
    font-size: 16px;
  }
}

/* ===== 打印样式 ===== */
@media print {
  header,
  .back-to-top,
  .menu-toggle,
  .search-box,
  .dark-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    opacity: 1 !important;
    transform: none !important;
    break-inside: avoid;
  }

  .card,
  .team-card,
  .contact-item {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===== 辅助功能 ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== 高对比度模式 ===== */
@media (prefers-contrast: high) {
  :root {
    --primary: #cc4400;
    --primary-light: #e65c00;
  }

  .card,
  .team-card,
  .contact-item {
    border-width: 2px;
  }

  .hero .btn {
    border: 2px solid #fff;
  }
}

/* ===== 暗色模式下的额外调整 ===== */
body.dark .breadcrumb {
  color: #aaa;
}

body.dark .breadcrumb a {
  color: var(--primary-light);
}

body.dark .section[style*="background: #f0f2f5"] {
  background: #1a1a2e !important;
}

body.dark .section[style*="background:#f0f2f5"] {
  background: #1a1a2e !important;
}

body.dark .hero {
  background: linear-gradient(135deg, #0d0d1a, #16213e, #0f3460);
}

/* ===== 自定义滚动动画类 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 合作伙伴网格特殊样式 ===== */
.grid[style*="grid-template-columns:repeat(auto-fit,minmax(150px,1fr))"] .card {
  text-align: center;
  padding: 20px;
}

.grid[style*="grid-template-columns:repeat(auto-fit,minmax(150px,1fr))"] .card-icon {
  margin: 0 auto 10px;
}

/* ===== 网站地图样式 ===== */
#sitemap .grid h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 18px;
}

#sitemap .grid ul {
  list-style: none;
}

#sitemap .grid ul li {
  margin-bottom: 6px;
}

#sitemap .grid ul li a {
  color: #555;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  font-size: 14px;
}

body.dark #sitemap .grid ul li a {
  color: #bbb;
}

#sitemap .grid ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* ===== 新闻卡片日期样式 ===== */
.card p[style*="color:#888"] {
  margin-bottom: 10px;
  font-style: italic;
}

/* ===== 评价卡片引号样式 ===== */
.card > p:first-child {
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.card > p:first-child::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 24px;
  color: var(--primary);
  font-weight: bold;
}

/* ===== 使用指南数字样式 ===== */
#howto .card .card-icon {
  font-size: 24px;
  font-weight: 800;
}

/* ===== 安全认证徽章 ===== */
footer .footer-bottom p:last-child {
  position: relative;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: #ccc;
  margin-top: 10px;
}

body.dark footer .footer-bottom p:last-child {
  background: rgba(255, 107, 53, 0.05);
}