/* ============================================
   无言粉丝应援站 · 主样式表
   ============================================ */

:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --primary-glow: rgba(0, 212, 255, 0.3);
  --secondary: #ff9f4d;
  --bg-dark: #0a0e1a;
  --bg-card: #11151f;
  --bg-elevated: #1a1f2a;
  --text-primary: #ffffff;
  --text-secondary: #b0b3c0;
  --text-muted: #6b6f7a;
  --border: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a2a3a 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px var(--primary-glow);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    'Noto Sans',
    sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family:
    'Space Grotesk',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-card);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* ========== 粉丝站标识 ========== */
.fan-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  pointer-events: none;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(10, 14, 26, 0.98);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: normal;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--primary);
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  color: var(--bg-dark) !important;
  font-weight: 600 !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* ========== Hero区域 ========== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a 0%, #0f1a2a 100%);
  padding: 100px 2rem 60px;
}

.hero-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero h1 .highlight {
  color: var(--primary);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.fan-name {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== 按钮 ========== */
.btn-primary,
.btn-outline {
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

/* ========== 容器和区块 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========== 个人资料卡片 ========== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}
.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.info-item {
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info-value {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.2rem;
}
.social-links-card {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.social-link {
  background: var(--bg-elevated);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.3s;
}
.social-link:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

/* ========== 数据卡片 ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* ========== 国服英雄 ========== */
.heroes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}
.hero-tag {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== 高光时刻 ========== */
.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.highlight-item {
  background: var(--bg-card);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  transition: all 0.3s;
}
.highlight-item:hover {
  background: var(--bg-elevated);
  transform: translateX(5px);
}
.highlight-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.highlight-desc {
  font-size: 0.95rem;
  margin-top: 0.3rem;
}
.tag {
  background: rgba(0, 212, 255, 0.1);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--primary);
}

/* ========== 博客卡片 ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-elevated);
}
.blog-card-content {
  padding: 1.5rem;
}
.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ========== 应援区 ========== */
.support-section {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border);
}
.support-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.social-links-footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.social-links-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.social-links-footer a:hover {
  color: var(--primary);
}
.copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
.disclaimer {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ========== 加载动画 ========== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .section-title h2 {
    font-size: 1.8rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 50px 0;
  }
  .support-section {
    padding: 2rem;
  }
}
