/* 问鼎娱乐 style.css — 完整样式文件 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
:root {
  --primary: #e94560;
  --primary-dark: #c23152;
  --secondary: #0f3460;
  --accent: #16213e;
  --bg: #1a1a2e;
  --text: #e0e0e0;
  --text-light: #a0a0b0;
  --card-bg: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --transition: 0.3s ease;
}
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
.dark-mode {
  --bg: #f5f5f5;
  --text: #1a1a2e;
  --text-light: #555;
  --card-bg: rgba(0, 0, 0, 0.03);
  --glass: rgba(0, 0, 0, 0.05);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary-dark);
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
  color: #fff;
}
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}
.grid {
  display: grid;
  gap: 30px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(233, 69, 96, 0.3);
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .glass {
    padding: 20px;
  }
}
/* 暗黑模式切换按钮 */
.dark-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.dark-toggle:hover {
  transform: scale(1.1);
}
/* 返回顶部 */
.back-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
  opacity: 0;
  visibility: hidden;
  border: none;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
}
.back-top:hover {
  transform: translateY(-3px);
}
/* 导航栏 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition);
}
.dark-mode header {
  background: rgba(245, 245, 245, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
nav a:hover::after, nav a.active::after {
  width: 100%;
}
nav a.active {
  color: var(--primary);
}
.mobile-menu-btn {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dark-mode nav {
    background: var(--bg);
  }
  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}
.dark-mode .hero {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 50%, #d0d0d0 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 60%), radial-gradient(circle at 70% 50%, rgba(15, 52, 96, 0.2) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dark-mode .hero h1 {
  background: linear-gradient(135deg, #1a1a2e, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero .btn {
  font-size: 1.1rem;
  padding: 15px 40px;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
/* 轮播 */
.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 40px;
  background: var(--card-bg);
  min-height: 300px;
}
.banner-slide {
  display: none;
  padding: 40px;
  text-align: center;
  animation: fadeSlide 0.8s ease;
}
.banner-slide.active {
  display: block;
}
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.banner-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}
/* 数字动画 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-item .stat-label {
  color: var(--text-light);
  font-size: 1rem;
  margin-top: 5px;
}
/* 面包屑 */
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 15px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}
.breadcrumb a {
  color: var(--text-light);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span {
  color: var(--text);
}
/* 搜索 */
.search-box {
  display: flex;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 50px;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.search-box input::placeholder {
  color: var(--text-light);
}
.search-box button {
  padding: 12px 25px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
}
.search-box button:hover {
  background: var(--primary-dark);
}
/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 0;
  background: none;
  border: none;
  color: var(--text);
  width: 100%;
  text-align: left;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 10px;
  color: var(--text-light);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 10px 10px 20px;
}
/* 联系我们 */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--glass);
  border-radius: 12px;
}
.contact-item svg {
  flex-shrink: 0;
}
/* Footer */
footer {
  background: var(--accent);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.dark-mode footer {
  background: #e0e0e0;
  border-top-color: rgba(0, 0, 0, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text);
}
.footer-col a, .footer-col p {
  color: var(--text-light);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 0.9rem;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}
.friend-links a {
  color: var(--text-light);
  font-size: 0.85rem;
}
.friend-links a:hover {
  color: var(--primary);
}
/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}