/* ============================
   手机体育 - Mobile Sports Betting Theme
   DESIGN_VARIANCE: 8 / MOTION: 7 / DENSITY: 4
   ============================ */

/* ---- Variables ---- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1e1e2a;
  --accent-gold: #d4a843;
  --accent-gold-light: #f0c860;
  --accent-gold-dark: #b8922e;
  --text-primary: #f5f5f7;
  --text-secondary: #a8a8b3;
  --text-muted: #6b6b78;
  --border-subtle: rgba(212, 168, 67, 0.15);
  --border-gold: rgba(212, 168, 67, 0.4);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 20px rgba(212,168,67,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-heading: "Noto Serif SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-gold-light); }
ul { list-style: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-gold); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

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

/* ---- Gold Divider ---- */
.gold-divider {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-dark));
  border-radius: 2px;
  margin: 16px auto 32px;
}
.gold-divider.center { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-dark));
  color: #0a0a0f; font-weight: 700; font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase; letter-spacing: 1px;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212,168,67,0.4);
  color: #0a0a0f;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase; letter-spacing: 1px;
}
.btn-outline:hover {
  background: var(--accent-gold);
  color: #0a0a0f;
  transform: translateY(-2px);
}

/* ---- Section ---- */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle {
  text-align: center; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}
.nav-logo span { color: var(--text-primary); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.95rem;
  font-weight: 500; position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--accent-gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--accent-gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 8px 20px !important; font-size: 0.85rem !important; }
.nav-cta:hover::after { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--accent-gold); border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.3;
  filter: brightness(0.4);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.4) 50%, rgba(10,10,15,0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(212,168,67,0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--accent-gold); font-size: 0.85rem;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}
.hero h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  color: var(--text-secondary); font-size: 1.15rem;
  margin-bottom: 36px; max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 700;
  color: var(--accent-gold); line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

/* ---- FEATURE CARDS ---- */
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0; transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(212,168,67,0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.feature-card h3 { margin-bottom: 12px; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ---- SECTION CARD (dark alt) ---- */
.section-dark { background: var(--bg-secondary); }

/* ---- ARTICLE CARDS ---- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.article-card-img { width: 100%; height: 200px; overflow: hidden; }
.article-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.08); }
.article-card-body { padding: 24px; }
.article-card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(212,168,67,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--accent-gold); font-size: 0.78rem;
  margin-bottom: 12px;
}
.article-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.article-card h3 a { color: var(--text-primary); }
.article-card h3 a:hover { color: var(--accent-gold); }
.article-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: 0.82rem; }
.read-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-gold); font-size: 0.88rem;
  font-weight: 500; transition: var(--transition);
}
.read-more:hover { gap: 8px; color: var(--accent-gold-light); }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #1a1520 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; }

/* ---- TESTIMONIAL ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.testimonial-stars { color: var(--accent-gold); margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-text { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(212,168,67,0.2); border: 2px solid var(--accent-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:has(.faq-answer.open) { border-color: var(--border-gold); }
.faq-question {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--text-primary); transition: var(--transition);
}
.faq-question:hover { color: var(--accent-gold); }
.faq-question::after {
  content: '+';
  font-size: 1.5rem; color: var(--accent-gold);
  transition: var(--transition);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary); font-size: 0.95rem;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px; text-align: center;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.contact-icon {
  font-size: 2.5rem; margin-bottom: 16px;
}
.contact-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.contact-card p { color: var(--text-secondary); font-size: 0.9rem; }
.contact-card a { color: var(--accent-gold); }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { font-size: 1.5rem; margin-bottom: 12px; display: block; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent-gold); margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom-links a:hover { color: var(--accent-gold); }

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 160px 0 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.04) 0%, transparent 70%);
}
.page-header h1 { margin-bottom: 12px; position: relative; }
.page-header p { color: var(--text-secondary); position: relative; }

/* ---- CONTENT AREA ---- */
.content-area { padding: 60px 0; }
.content-area .container { max-width: 900px; }
.article-content { font-size: 1rem; color: var(--text-secondary); }
.article-content h2 { margin: 36px 0 16px; color: var(--text-primary); }
.article-content h3 { margin: 28px 0 12px; color: var(--text-primary); }
.article-content p { margin-bottom: 16px; line-height: 1.8; }
.article-content ul { margin: 16px 0; padding-left: 24px; }
.article-content ul li { margin-bottom: 8px; list-style: disc; color: var(--text-secondary); }
.article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content ol li { margin-bottom: 8px; list-style: decimal; color: var(--text-secondary); }
.article-content blockquote {
  border-left: 4px solid var(--accent-gold);
  padding: 16px 20px;
  background: rgba(212,168,67,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-secondary); font-style: italic;
}
.article-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-card);
}
.article-content a { color: var(--accent-gold); }
.article-content a:hover { color: var(--accent-gold-light); }
.article-content .highlight-box {
  background: rgba(212,168,67,0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px; margin: 24px 0;
}

/* ---- INLINE IMAGES IN ARTICLES ---- */
.article-image { margin: 28px 0; }
.article-image img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.article-image figcaption {
  text-align: center; color: var(--text-muted);
  font-size: 0.82rem; margin-top: 8px;
}

/* ---- SIDEBAR ---- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 1rem; font-weight: 600;
  color: var(--accent-gold); margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-widget ul li {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 10px;
}
.sidebar-widget ul li:last-child { border: none; margin: 0; padding: 0; }
.sidebar-widget ul li a { color: var(--text-secondary); font-size: 0.9rem; }
.sidebar-widget ul li a:hover { color: var(--accent-gold); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span { color: var(--text-muted); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 10px rgba(212,168,67,0.2); }
  50% { box-shadow: 0 0 30px rgba(212,168,67,0.5); }
}
.animate-pulse-gold { animation: pulseGold 2s ease infinite; }

/* ---- FLOATING ELEMENTS ---- */
.float-icon {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212,168,67,0.4);
  transition: var(--transition);
}
.float-icon:hover { transform: scale(1.1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-image img { border-radius: var(--radius-sm); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .feature-cards { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
}
