:root {
  --primary: #EC4899;
  --secondary: #8B5CF6;
  --accent: #22D3EE;
  --bg-dark: #0F0B1A;
  --bg-light: rgba(245, 243, 255, 0.06);
  --text-main: #F5F3FF;
  --text-muted: #A1A1AA;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container-main {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-main {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.text-glow {
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.6), 0 0 20px rgba(236, 72, 153, 0.3);
}

.text-glow-cyan {
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5), 0 0 20px rgba(34, 211, 238, 0.25);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.5), 0 0 24px rgba(139, 92, 246, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-neon:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.7), 0 0 36px rgba(139, 92, 246, 0.5);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  background: rgba(245, 243, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(34, 211, 238, 0.4);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--accent);
}

.card-glass {
  background: var(--bg-light);
  border: 1px solid rgba(245, 243, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(236, 72, 153, 0.2);
  border-color: rgba(236, 72, 153, 0.35);
}

.card-solid {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-solid:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 32px rgba(139, 92, 246, 0.25);
}

.title-underline {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.title-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 3rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.title-bar {
  position: relative;
  padding-left: 1rem;
  border-left: 0.25rem solid var(--accent);
}

.hero-bg {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.18), transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.12), transparent 40%),
              var(--bg-dark);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(139, 92, 246, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

.float-hero {
  animation: floatHero 5s ease-in-out infinite;
}

@keyframes floatHero {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(236, 72, 153, 0.5); }
  50% { box-shadow: 0 0 28px rgba(236, 72, 153, 0.8); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.8s ease forwards;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.nav-scrolled {
  background: rgba(15, 11, 26, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.tag-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.video-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(245, 243, 255, 0.1);
  background: #000000;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.friend-link {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(245, 243, 255, 0.06);
  border: 1px solid rgba(245, 243, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.friend-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
}

.qr-img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 0.75rem;
  border: 2px solid rgba(245, 243, 255, 0.12);
}

.eyecatch {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.eyecatch img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.eyecatch:hover img {
  transform: scale(1.05);
}

.article-body h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.article-body p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 0.5rem;
}
