/* ==========================================================================
   马上足球 (FlashFootball) 官方网站 - 极简高质感设计系统
   主办单位：北京闪光跃动科技有限公司
   ICP备案号：京ICP备2026057152号
   ========================================================================== */

:root {
  /* 默认深色主题 (Obsidian Dark) */
  --bg-main: #090C10;
  --bg-gradient: radial-gradient(circle at 50% 10%, #131A26 0%, #090C10 65%, #05070A 100%);
  --bg-surface: rgba(18, 24, 38, 0.65);
  --bg-surface-hover: rgba(26, 35, 54, 0.85);
  --bg-pill: rgba(255, 255, 255, 0.04);
  --bg-pill-hover: rgba(0, 245, 155, 0.08);
  --bg-header: rgba(9, 12, 16, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 245, 155, 0.35);
  --border-hover: rgba(0, 245, 155, 0.6);

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --brand-green: #00F59B;
  --brand-green-dark: #059669;
  --brand-glow: rgba(0, 245, 155, 0.22);
  --brand-glow-strong: rgba(0, 245, 155, 0.45);

  --title-gradient: linear-gradient(135deg, #FFFFFF 20%, #E2E8F0 60%, #00F59B 100%);
  --slogan-gradient: linear-gradient(135deg, #00F59B 0%, #34D399 50%, #6EE7B7 100%);
  
  --font-base: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(0, 245, 155, 0.15);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 浅色主题 (Clean Light) */
[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-gradient: radial-gradient(circle at 50% 10%, #E2E8F0 0%, #F8FAFC 60%, #F1F5F9 100%);
  --bg-surface: rgba(255, 255, 255, 0.85);
  --bg-surface-hover: #FFFFFF;
  --bg-pill: rgba(0, 0, 0, 0.03);
  --bg-pill-hover: rgba(5, 150, 105, 0.08);
  --bg-header: rgba(248, 250, 252, 0.82);
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-highlight: rgba(5, 150, 105, 0.35);
  --border-hover: rgba(5, 150, 105, 0.6);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --brand-green: #059669;
  --brand-green-dark: #047857;
  --brand-glow: rgba(5, 150, 105, 0.15);
  --brand-glow-strong: rgba(5, 150, 105, 0.3);

  --title-gradient: linear-gradient(135deg, #0F172A 20%, #1E293B 60%, #059669 100%);
  --slogan-gradient: linear-gradient(135deg, #059669 0%, #10B981 50%, #047857 100%);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 40px rgba(5, 150, 105, 0.1);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.06);
}

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

html, body {
  min-height: 100vh;
  width: 100%;
}

html {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-main);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  scroll-behavior: smooth;
}

body {
  background: var(--bg-gradient);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   背景光效与氛围纹理
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.55;
  transition: opacity var(--transition-normal);
}

.glow-top {
  width: 650px;
  height: 450px;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--brand-glow-strong) 0%, transparent 70%);
}

.glow-bottom {
  width: 500px;
  height: 350px;
  bottom: -100px;
  right: 10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .grid-overlay {
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  opacity: 0.8;
}

/* 球场微弧线背景 */
.pitch-lines {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border: 1px dashed rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .pitch-lines {
  border-color: rgba(0, 0, 0, 0.03);
}

/* 页面整体框架 */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   顶部导航 (Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.9;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 245, 155, 0.15), rgba(5, 150, 105, 0.05));
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 245, 155, 0.15);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
  animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.theme-btn {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  background: var(--bg-pill-hover);
  color: var(--brand-green);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

/* ==========================================================================
   核心视觉区域 (Hero & Coming Soon)
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.hero-section {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 预热标签 */
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid var(--border-highlight);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 0.8s ease backwards;
}

[data-theme="light"] .teaser-badge {
  background: rgba(5, 150, 105, 0.08);
}

.badge-spark {
  font-size: 0.9rem;
}

.badge-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-green);
}

/* 大标题 */
.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards 0.1s;
}

.heading-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heading-slogan {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  background: var(--slogan-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 简要描述 */
.hero-description {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 44px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards 0.2s;
}

/* 特色微卡片 */
.feature-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-bottom: 36px;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards 0.3s;
}

.pill-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pill-item:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 245, 155, 0.1);
}

.pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 245, 155, 0.1);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 245, 155, 0.2);
}

.pill-text {
  display: flex;
  flex-direction: column;
}

.pill-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.pill-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 预热进行中卡片 */
.coming-card {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(135deg, rgba(0, 245, 155, 0.06), rgba(5, 150, 105, 0.02));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards 0.4s;
}

.coming-pulse-ring {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 245, 155, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.coming-pulse-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--brand-green);
  animation: ripple 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.pulse-center {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--brand-green);
}

.coming-info {
  text-align: left;
}

.coming-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.coming-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   底部合规与备案信息 (Footer)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px 24px 28px;
  position: relative;
  z-index: 10;
}

[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.5);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-company-info .company-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.footer-company-info .company-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-divider {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: var(--border-subtle);
  margin: 4px 0;
}

.footer-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.icp-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icp-label {
  color: var(--text-muted);
}

.icp-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.icp-link:hover {
  color: var(--brand-green);
  border-color: var(--border-highlight);
  background: var(--bg-pill-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.external-icon {
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.icp-link:hover .external-icon {
  transform: translate(1px, -1px);
  opacity: 1;
}

.copyright-box {
  color: var(--text-muted);
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   响应式断点适配
   ========================================================================== */
@media (max-width: 860px) {
  .feature-pills {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .main-content {
    padding: 40px 20px;
  }

  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 32px;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 14px 18px;
  }

  .status-indicator {
    display: none;
  }

  .heading-title {
    font-size: 2.3rem;
  }

  .heading-slogan {
    font-size: 1.4rem;
  }

  .footer-meta-row {
    flex-direction: column;
    gap: 8px;
  }
}
