/* ========================================
   公司官网样式系统
   参考巨人网络官网设计风格
   ======================================== */

/* CSS变量定义 */
:root {
  --color-primary: #1a1a1a;
  --color-secondary: #333;
  --color-accent: #ff6b35;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-muted: #999;
  --color-bg: #fff;
  --color-bg-dark: #0a0a0a;
  --color-bg-gray: #f5f5f5;
  --color-border: #e5e5e5;

  --font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;

  --header-height: 70px;
  --container-width: 1200px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* 重置样式 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* 容器 */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   导航栏
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background var(--transition-normal);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 汉堡包菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   主视觉轮播区
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  margin-top: var(--header-height);
  aspect-ratio: 1920 / 580;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 5%;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  text-align: left;
}

.hero-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px;
  transition: all var(--transition-normal);
}

.hero-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* 轮播控制 */
.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.hero-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.progress-bar {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #fff;
  width: 0%;
  transition: width 0.1s linear;
}

.hero-arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-normal);
}

.arrow:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================================
   通用区块标题
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.view-more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.view-more:hover {
  color: var(--color-accent);
}

.view-more span {
  transition: transform var(--transition-fast);
}

.view-more:hover span {
  transform: translateX(5px);
}

/* ========================================
   产品展示区
   ======================================== */
.products {
  padding: 100px 0;
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 20px;
}

.product-card,
a.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-gray);
  display: block;
  text-decoration: none;
}

.product-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-card.large .product-placeholder {
  font-size: 36px;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.product-link:hover {
  color: #fff;
}

.product-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.product-link:hover::after {
  transform: translateX(5px);
}

/* ========================================
   最新资讯
   ======================================== */
.news {
  padding: 80px 0;
  background: var(--color-bg-gray);
}

.news-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.news-list {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.news-item:last-of-type {
  border-bottom: none;
}

.news-item:hover {
  padding-left: 10px;
}

.news-item:hover .news-title {
  color: var(--color-accent);
}

.news-title {
  font-size: 15px;
  color: var(--color-text);
  flex: 1;
  margin-right: 20px;
  transition: color var(--transition-fast);
}

.news-date {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.news-more {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  border-radius: 20px;
  transition: background var(--transition-fast);
}

.news-more:hover {
  background: var(--color-secondary);
}

.news-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-bg-gray);
}

.media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.media-link:hover img {
  transform: scale(1.05);
}

.media-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   企业概况
   ======================================== */
.about {
  padding: 100px 0;
  background: var(--color-bg);
}

.about-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 12px;
}

.about-subtitle-desc {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* 关于凤凰互动 */
.about-intro {
  margin-bottom: 80px;
}

.about-intro-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-intro-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro-text p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* 企业文化 */
.about-culture {
  margin-bottom: 80px;
  padding: 60px 40px;
  background: var(--color-bg-gray);
  border-radius: 24px;
}

.about-culture .about-subtitle {
  color: var(--color-primary);
}

.about-culture .about-subtitle-desc {
  color: var(--color-text-light);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.culture-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--color-accent);
  border-radius: 16px;
  border: none;
  transition: all var(--transition-normal);
}

.culture-item:hover {
  background: #ff8555;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.culture-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.culture-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.culture-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* 我们的业务 */
.about-services {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 30px;
  background: var(--color-bg-gray);
  border-radius: 20px;
  transition: all var(--transition-normal);
}

.service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.service-image {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-slogan {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ========================================
   联系我们
   ======================================== */
.contact {
  padding: 100px 0;
  background: var(--color-bg-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-item {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.contact-item p {
  font-size: 15px;
  color: var(--color-text-light);
}

.contact-qr {
  text-align: center;
}

.contact-qr img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-qr span {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
}

/* ========================================
   健康游戏忠告
   ======================================== */
.health-notice {
  padding: 40px 0;
  background: #f0f0f0;
  border-top: 1px solid var(--color-border);
}

.health-content {
  text-align: center;
}

.health-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.health-content p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ========================================
   加入我们
   ======================================== */
.careers {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

.careers-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.careers-info h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.careers-info > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.careers-links {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.career-link {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.career-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #ff8555;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.careers-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.careers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careers-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.footer-content {
  text-align: center;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-qrcode {
  height: 80px;
  width: auto;
  border-radius: 4px;
}

.footer-icp {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-icp a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-icp a:hover {
  color: #fff;
}

.footer-public {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.footer-health {
  margin-bottom: 15px;
}

.footer-health p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  margin-bottom: 10px;
}

.footer-contact p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .product-card.large {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }

  .news-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-media {
    flex-direction: row;
  }

  .careers-content {
    grid-template-columns: 1fr;
  }

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

  .about-intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .culture-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .strength-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .strength-icon {
    margin: 0 auto;
  }

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

  .service-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 20px;
  }

  .service-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    order: 2;
    margin-top: 10px;
  }

  .service-content {
    order: 1;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* 汉堡包菜单 */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .nav.active {
    max-height: 400px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    height: 25vh;
    min-height: 180px;
  }

  .hero-slider {
    height: 100%;
  }

  .hero-slide {
    height: 100%;
  }

  .hero-bg {
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
  }

  .hero-title {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .hero-content {
    bottom: 80px;
    left: 5%;
  }

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

  .hero-controls {
    bottom: 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    padding: 0;
    justify-items: center;
  }

  .product-card,
  a.product-card {
    width: 80%;
    max-width: 400px;
    margin: 0;
    aspect-ratio: 1/1;
    position: relative;
  }

  .product-card.large {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1/1;
    width: 80%;
    max-width: 400px;
    margin: 0;
  }

  .product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-culture {
    padding: 40px 20px;
  }

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

  .contact-qr {
    text-align: center;
    margin: 0 auto;
  }

  .footer-health {
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .footer-health p {
    font-size: 11px;
    line-height: 1.6;
    white-space: nowrap;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* ========================================
   游戏弹窗
   ======================================== */
.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.game-modal.active {
  opacity: 1;
  visibility: visible;
}

.game-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.game-modal.active .game-modal-content {
  transform: scale(1);
}

.game-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.game-modal-text {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.game-modal-close {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.game-modal-close:hover {
  background: var(--color-secondary);
}

/* ========================================
   微信小游戏弹窗
   ======================================== */
.wechat-game-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.wechat-game-modal.active {
  opacity: 1;
  visibility: visible;
}

.wechat-game-content {
  position: relative;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 30px 25px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.wechat-game-modal.active .wechat-game-content {
  transform: scale(1);
}

.wechat-game-close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: #999;
  font-size: 28px;
  line-height: 30px;
  cursor: pointer;
  transition: color var(--transition-fast);
  padding: 0;
}

.wechat-game-close:hover {
  color: #fff;
}

.wechat-game-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.wechat-game-qr {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: inline-block;
}

.wechat-game-qr img {
  width: 180px;
  height: 180px;
  display: block;
}

.wechat-game-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}

.wechat-icon {
  width: 16px;
  height: 16px;
  background: #07c160;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.wechat-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
}

.wechat-game-save {
  width: 100%;
  padding: 12px 0;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-bottom: 15px;
}

.wechat-game-save:hover {
  background: #06ad56;
}

.wechat-game-hint {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* ========================================
   减少动画支持 - 无障碍访问
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-slide {
    transition: none;
  }

  .product-image img,
  .media-link img,
  .news-item-image img {
    transition: none;
  }

  .product-card:hover .product-image img,
  .media-link:hover img,
  .news-item-full:hover .news-item-image img {
    transform: none;
  }

  .culture-item:hover,
  .service-card:hover,
  .news-item-full:hover {
    transform: none;
  }

  .progress-fill {
    transition: none;
  }
}
