/* 千成互娱官网 - 明亮风格样式 */

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #7c3aed;
  --accent: #f97316;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
}

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

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--bg-muted);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
}

.nav-cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Hero Header - Background Image with Title Only */
.hero-header {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
}

.hero-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  text-align: center;
}

.hero-header-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-header-title span {
  background: linear-gradient(135deg, #a78bfa, #f472b6, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-header-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-header-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Content Section (Buttons & Stats) */
.hero-content-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.btn {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--text-light);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-light);
}

/* Section */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* Game Cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.game-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.game-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.game-info {
  padding: 16px;
  text-align: center;
}

.game-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.game-type {
  font-size: 12px;
  color: var(--text-light);
}

/* Business Section */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.business-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.business-card-full {
  grid-column: 1 / -1;
}

.business-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.business-icon.purple {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--primary);
}

.business-icon.fuchsia {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(249, 115, 22, 0.1));
  color: var(--secondary);
}

.business-icon.orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(239, 68, 68, 0.1));
  color: var(--accent);
}

.business-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.business-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.business-list {
  list-style: none;
}

.business-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.business-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* MCN & Studio */
.mcn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.mcn-card {
  background: var(--bg-muted);
  border-radius: var(--radius);
  padding: 24px;
}

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

.mcn-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Page Header - Full Background Image (Other Pages) */
.page-header {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  text-align: center;
}

.page-header-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.page-header-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* About Section - Full Width Layout */
.about-section {
  padding: 80px 0;
}

.about-content-full {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-content-full h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

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

/* About Stats */
.about-stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 48px 0;
}

.about-stat-item {
  text-align: center;
}

.about-stat-value {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Services Full Width Grid */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-full-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s;
}

.service-full-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.service-full-num {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  margin: 0 auto 24px;
}

.service-full-num.purple {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(79, 70, 229, 0.05));
  color: var(--primary);
}

.service-full-num.fuchsia {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
  color: var(--secondary);
}

.service-full-num.orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
  color: var(--accent);
}

.service-full-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.service-full-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* Vision Card */
.vision-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.vision-item {
  text-align: center;
  padding: 24px;
}

.vision-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.vision-label {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vision-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.vision-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.vision-tag {
  padding: 8px 18px;
  background: var(--bg-muted);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon.purple {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.contact-icon.fuchsia {
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
}

.contact-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
}

.contact-info label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 2px;
  display: block;
}

.contact-info span {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

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

.contact-cta h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-cta p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
}

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

.footer-logo-text {
  font-size: 16px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-grid,
  .services-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vision-grid {
    grid-template-columns: 1fr;
  }
  
  .vision-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-header-title {
    font-size: 36px;
  }
  
  .hero-header-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .stat-card {
    padding: 20px 16px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .service-grid,
  .services-full-grid {
    grid-template-columns: 1fr;
  }
  
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .business-grid {
    grid-template-columns: 1fr;
  }
  
  .mcn-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .about-stats-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .vision-card {
    padding: 32px 24px;
  }
  
  .page-header-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
