/* ============================================
   17c - Y2K千禧复古风 数字潮流资讯站
   CSS前缀: sc-
   ============================================ */

/* === Google Fonts 本地化替代 (像素风格字体) === */
@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/PressStart2P-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VT323';
  src: url('../fonts/VT323-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === CSS变量 === */
:root {
  --sc-color-primary: #C0C0C0;
  --sc-color-secondary: #8A2BE2;
  --sc-color-accent: #FF00FF;
  --sc-color-text: #FFFFFF;
  --sc-color-bg: #1A1A1A;
  --sc-color-bg-dark: #111111;
  --sc-color-card-bg: rgba(192, 192, 192, 0.08);
  --sc-color-border: rgba(138, 43, 226, 0.4);
  --sc-font-heading: 'Press Start 2P', 'Courier New', monospace;
  --sc-font-body: 'VT323', 'Courier New', monospace;
  --sc-radius: 8px;
  --sc-transition: 0.3s ease;
}

/* === 防查重干扰标签隐藏 === */
.y2k-jammer-block {
  display: none !important;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sc-font-body);
  background-color: var(--sc-color-bg);
  color: var(--sc-color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === CRT扫描线背景纹理 === */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

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

a {
  color: var(--sc-color-accent);
  text-decoration: none;
  transition: var(--sc-transition);
}

a:hover {
  animation: sc-glitch-text 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sc-font-heading);
  line-height: 1.4;
  color: var(--sc-color-primary);
}

/* === 像素抖动和颜色失真动画 === */
@keyframes sc-glitch-text {
  0% { transform: translate(0); filter: hue-rotate(0deg); }
  20% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
  40% { transform: translate(2px, -1px); filter: hue-rotate(180deg); }
  60% { transform: translate(-1px, -2px); filter: hue-rotate(270deg); }
  80% { transform: translate(1px, 1px); filter: hue-rotate(360deg); }
  100% { transform: translate(0); filter: hue-rotate(0deg); }
}

@keyframes sc-pulse-glow {
  0%, 100% { box-shadow: 0 0 5px var(--sc-color-secondary), 0 0 10px rgba(138, 43, 226, 0.3); }
  50% { box-shadow: 0 0 15px var(--sc-color-secondary), 0 0 30px rgba(138, 43, 226, 0.5); }
}

@keyframes sc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes sc-radar-sweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes sc-scanline {
  0% { top: -100%; }
  100% { top: 100%; }
}

@keyframes sc-holographic {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sc-pixel-underline {
  0%, 100% { width: 0; }
  50% { width: 100%; }
}

@keyframes sc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes sc-capsule-launch {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-200px) scale(0.8); opacity: 0.7; }
  100% { transform: translateY(-500px) scale(0.3); opacity: 0; }
}

@keyframes sc-cd-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === 导航栏 === */
.sc-navbar {
  width: 100%;
  background: rgba(192, 192, 192, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sc-color-border);
  z-index: 1000;
  padding: 0;
}

.sc-navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.sc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.sc-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

.sc-logo-text {
  font-family: var(--sc-font-heading);
  font-size: 14px;
  color: var(--sc-color-primary);
  text-shadow: 0 0 10px var(--sc-color-secondary);
}

.sc-nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  flex-wrap: wrap;
}

.sc-nav-item {
  position: relative;
}

.sc-nav-link {
  display: block;
  padding: 8px 12px;
  font-family: var(--sc-font-body);
  font-size: 18px;
  color: var(--sc-color-text);
  transition: var(--sc-transition);
  position: relative;
}

.sc-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--sc-color-secondary);
  transition: width 0.3s ease;
  image-rendering: pixelated;
}

.sc-nav-link:hover::after,
.sc-nav-link.sc-active::after {
  width: 80%;
  animation: sc-blink 0.8s infinite;
}

.sc-nav-link:hover {
  color: var(--sc-color-accent);
  animation: none;
}

/* === 汉堡菜单 === */
.sc-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.sc-hamburger-line {
  width: 28px;
  height: 3px;
  background: var(--sc-color-primary);
  transition: var(--sc-transition);
  image-rendering: pixelated;
}

/* === 移动端侧边菜单 === */
.sc-mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--sc-color-bg-dark);
  border-left: 2px solid var(--sc-color-secondary);
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  overflow-y: auto;
}

.sc-mobile-menu.sc-open {
  right: 0;
}

.sc-mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: 2px solid var(--sc-color-accent);
  color: var(--sc-color-accent);
  font-family: var(--sc-font-heading);
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}

.sc-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sc-mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-family: var(--sc-font-body);
  font-size: 20px;
  color: var(--sc-color-text);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
  transition: var(--sc-transition);
}

.sc-mobile-nav-link:hover {
  color: var(--sc-color-accent);
  background: rgba(138, 43, 226, 0.1);
  padding-left: 24px;
}

.sc-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  display: none;
}

.sc-mobile-overlay.sc-open {
  display: block;
}

/* === 主容器 === */
.sc-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === 首页模块通用样式 === */
.sc-section {
  padding: 60px 0;
  position: relative;
}

.sc-section-title {
  font-family: var(--sc-font-heading);
  font-size: 18px;
  color: var(--sc-color-primary);
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 0 10px var(--sc-color-secondary);
}

.sc-section-subtitle {
  font-family: var(--sc-font-body);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* === 千禧头条 === */
.sc-headlines {
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.15) 0%, transparent 100%);
  padding: 40px 0;
  overflow: hidden;
}

.sc-headlines-banner {
  width: 100%;
  border-radius: var(--sc-radius);
  border: 2px solid var(--sc-color-border);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.sc-headlines-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, var(--sc-color-bg) 100%);
  pointer-events: none;
}

.sc-headlines-ticker {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  padding: 16px 20px;
  overflow: hidden;
  position: relative;
}

.sc-ticker-wrap {
  display: flex;
  animation: sc-ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes sc-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sc-ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  font-size: 20px;
  color: var(--sc-color-text);
}

.sc-ticker-dot {
  width: 8px;
  height: 8px;
  background: var(--sc-color-accent);
  border-radius: 50%;
  margin-right: 12px;
  animation: sc-blink 1.5s infinite;
}

/* === 潮流雷达 === */
.sc-radar {
  text-align: center;
}

.sc-radar-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.sc-radar-visual {
  width: 300px;
  height: 300px;
  position: relative;
  flex-shrink: 0;
}

.sc-radar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--sc-color-secondary);
  animation: sc-pulse-glow 3s infinite;
}

.sc-radar-trends {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.sc-trend-card {
  background: var(--sc-color-card-bg);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  padding: 20px;
  transition: var(--sc-transition);
  position: relative;
  overflow: hidden;
}

.sc-trend-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(138, 43, 226, 0.1), transparent);
  animation: sc-radar-sweep 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.sc-trend-card:hover::before {
  opacity: 1;
}

.sc-trend-card:hover {
  transform: translateY(-4px);
  border-color: var(--sc-color-accent);
}

.sc-trend-name {
  font-family: var(--sc-font-heading);
  font-size: 11px;
  color: var(--sc-color-accent);
  margin-bottom: 8px;
}

.sc-trend-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.sc-trend-heat {
  margin-top: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.sc-trend-heat-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sc-color-secondary), var(--sc-color-accent));
  border-radius: 2px;
  transition: width 1s ease;
}

/* === 数字画廊 === */
.sc-gallery {
  padding: 60px 0;
}

.sc-gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.sc-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--sc-radius);
  overflow: hidden;
  border: 1px solid var(--sc-color-border);
  transition: var(--sc-transition);
  position: relative;
}

.sc-gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--sc-color-accent);
}

.sc-gallery-item img {
  width: 100%;
  display: block;
}

.sc-gallery-caption {
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* === 音乐电台 === */
.sc-radio {
  background: linear-gradient(180deg, transparent, rgba(138, 43, 226, 0.1), transparent);
}

.sc-radio-player {
  max-width: 800px;
  margin: 0 auto;
  background: var(--sc-color-card-bg);
  border: 2px solid var(--sc-color-border);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.sc-radio-player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(138, 43, 226, 0.02) 2px,
    rgba(138, 43, 226, 0.02) 4px
  );
  pointer-events: none;
}

.sc-radio-cover {
  width: 100%;
  border-radius: var(--sc-radius);
  margin-bottom: 20px;
  border: 1px solid var(--sc-color-border);
}

.sc-radio-info {
  text-align: center;
  margin-bottom: 20px;
}

.sc-radio-track {
  font-family: var(--sc-font-heading);
  font-size: 12px;
  color: var(--sc-color-accent);
  margin-bottom: 6px;
}

.sc-radio-artist {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}

.sc-radio-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sc-radio-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--sc-color-secondary);
  background: rgba(138, 43, 226, 0.2);
  color: var(--sc-color-text);
  font-size: 20px;
  cursor: pointer;
  transition: var(--sc-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-radio-btn:hover {
  background: var(--sc-color-secondary);
  box-shadow: 0 0 15px var(--sc-color-secondary);
}

.sc-radio-btn.sc-play-btn {
  width: 60px;
  height: 60px;
  font-size: 24px;
}

.sc-radio-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.sc-radio-progress-bar {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-color-secondary), var(--sc-color-accent));
  border-radius: 3px;
  transition: width 0.1s;
}

.sc-radio-playlist {
  margin-top: 20px;
  list-style: none;
}

.sc-radio-playlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
  font-size: 18px;
  cursor: pointer;
  transition: var(--sc-transition);
}

.sc-radio-playlist-item:hover {
  background: rgba(138, 43, 226, 0.1);
  color: var(--sc-color-accent);
}

.sc-radio-playlist-item.sc-playing {
  color: var(--sc-color-accent);
}

.sc-radio-playlist-duration {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

/* === 复古游戏 === */
.sc-games {
  text-align: center;
}

.sc-games-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.sc-game-card {
  width: 320px;
  background: var(--sc-color-card-bg);
  border: 2px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  overflow: hidden;
  transition: var(--sc-transition);
}

.sc-game-card:hover {
  border-color: var(--sc-color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
}

.sc-game-preview {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.sc-game-info {
  padding: 16px;
}

.sc-game-title {
  font-family: var(--sc-font-heading);
  font-size: 11px;
  color: var(--sc-color-primary);
  margin-bottom: 8px;
}

.sc-game-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

/* === 果冻按钮 === */
.sc-btn-jelly {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--sc-font-body);
  font-size: 20px;
  color: var(--sc-color-text);
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.6), rgba(255, 0, 255, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--sc-transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.sc-btn-jelly::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 10%;
  width: 80%;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.sc-btn-jelly:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5), 0 0 40px rgba(255, 0, 255, 0.2);
}

.sc-btn-jelly:active {
  transform: scale(0.95);
}

/* === 潮人街拍 === */
.sc-streetsnap {
  padding: 60px 0;
}

.sc-snap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.sc-snap-card {
  border-radius: var(--sc-radius);
  overflow: hidden;
  border: 2px solid var(--sc-color-border);
  background: var(--sc-color-card-bg);
  transition: var(--sc-transition);
}

.sc-snap-card:hover {
  border-color: var(--sc-color-accent);
  transform: scale(1.03);
}

.sc-snap-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.sc-snap-info {
  padding: 12px;
}

.sc-snap-location {
  font-size: 14px;
  color: var(--sc-color-accent);
  margin-bottom: 4px;
}

.sc-snap-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

/* === 限定发售 === */
.sc-drops {
  background: linear-gradient(180deg, transparent, rgba(255, 0, 255, 0.05), transparent);
}

.sc-drops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.sc-drop-card {
  background: var(--sc-color-card-bg);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  overflow: hidden;
  transition: var(--sc-transition);
}

.sc-drop-card:hover {
  border-color: var(--sc-color-accent);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.sc-drop-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.sc-drop-info {
  padding: 16px;
}

.sc-drop-name {
  font-family: var(--sc-font-heading);
  font-size: 10px;
  color: var(--sc-color-primary);
  margin-bottom: 8px;
}

.sc-drop-price {
  font-size: 22px;
  color: var(--sc-color-accent);
  margin-bottom: 8px;
}

.sc-drop-status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 20px;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid var(--sc-color-secondary);
  color: var(--sc-color-secondary);
}

.sc-drop-status.sc-sold-out {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff4444;
  color: #ff4444;
}

/* === 社群广场 === */
.sc-community {
  padding: 60px 0;
}

.sc-bbs-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--sc-color-card-bg);
  border: 2px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  overflow: hidden;
}

.sc-bbs-header {
  background: rgba(138, 43, 226, 0.2);
  padding: 16px 20px;
  border-bottom: 1px solid var(--sc-color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sc-bbs-title {
  font-family: var(--sc-font-heading);
  font-size: 12px;
  color: var(--sc-color-primary);
}

.sc-bbs-online {
  font-size: 16px;
  color: #00ff00;
}

.sc-bbs-posts {
  list-style: none;
}

.sc-bbs-post {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.1);
  transition: var(--sc-transition);
}

.sc-bbs-post:hover {
  background: rgba(138, 43, 226, 0.05);
}

.sc-bbs-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--sc-color-secondary), var(--sc-color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sc-font-heading);
  font-size: 10px;
  flex-shrink: 0;
}

.sc-bbs-content {
  flex: 1;
}

.sc-bbs-username {
  font-size: 16px;
  color: var(--sc-color-accent);
  margin-bottom: 4px;
}

.sc-bbs-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.sc-bbs-time {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
}

.sc-bbs-input-area {
  padding: 20px;
  border-top: 1px solid var(--sc-color-border);
}

.sc-bbs-textarea {
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  padding: 12px;
  font-family: var(--sc-font-body);
  font-size: 18px;
  color: var(--sc-color-text);
  resize: vertical;
  margin-bottom: 12px;
}

.sc-bbs-textarea:focus {
  outline: none;
  border-color: var(--sc-color-accent);
}

/* === 17c会员 === */
.sc-membership {
  background: linear-gradient(180deg, transparent, rgba(138, 43, 226, 0.08), transparent);
}

.sc-membership-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(138, 43, 226, 0.15));
  border: 2px solid var(--sc-color-border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.sc-membership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent, rgba(138, 43, 226, 0.05), transparent);
  background-size: 200% 200%;
  animation: sc-holographic 6s ease infinite;
}

.sc-membership-img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
  border-radius: var(--sc-radius);
  display: block;
}

.sc-membership-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.sc-benefit-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: var(--sc-radius);
  padding: 16px;
  text-align: center;
  transition: var(--sc-transition);
}

.sc-benefit-item:hover {
  border-color: var(--sc-color-accent);
  transform: translateY(-2px);
}

.sc-benefit-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.sc-benefit-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* === 每周投票 === */
.sc-poll {
  text-align: center;
}

.sc-poll-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--sc-color-card-bg);
  border: 2px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  padding: 30px;
}

.sc-poll-question {
  font-family: var(--sc-font-heading);
  font-size: 13px;
  color: var(--sc-color-primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.sc-poll-options {
  list-style: none;
  margin-bottom: 24px;
}

.sc-poll-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: var(--sc-radius);
  cursor: pointer;
  transition: var(--sc-transition);
}

.sc-poll-option:hover {
  border-color: var(--sc-color-accent);
  background: rgba(138, 43, 226, 0.1);
}

.sc-poll-option.sc-selected {
  border-color: var(--sc-color-accent);
  background: rgba(255, 0, 255, 0.1);
}

.sc-poll-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--sc-color-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.sc-poll-option.sc-selected .sc-poll-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--sc-color-accent);
  border-radius: 50%;
}

.sc-poll-label {
  font-size: 20px;
  color: var(--sc-color-text);
}

.sc-poll-result {
  margin-top: 16px;
}

.sc-poll-bar-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sc-poll-bar-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  width: 120px;
  text-align: right;
}

.sc-poll-bar-track {
  flex: 1;
  height: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  overflow: hidden;
  image-rendering: pixelated;
}

.sc-poll-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sc-color-secondary), var(--sc-color-accent));
  transition: width 1s ease;
}

.sc-poll-bar-pct {
  font-size: 18px;
  color: var(--sc-color-accent);
  width: 50px;
}

/* === 页脚 === */
.sc-footer {
  background: var(--sc-color-bg-dark);
  border-top: 2px solid var(--sc-color-border);
  padding: 50px 0 20px;
}

.sc-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.sc-footer-col-title {
  font-family: var(--sc-font-heading);
  font-size: 11px;
  color: var(--sc-color-primary);
  margin-bottom: 16px;
}

.sc-footer-links {
  list-style: none;
}

.sc-footer-link {
  display: block;
  padding: 6px 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--sc-transition);
}

.sc-footer-link:hover {
  color: var(--sc-color-accent);
  padding-left: 8px;
}

.sc-footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.sc-social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--sc-color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--sc-color-primary);
  transition: var(--sc-transition);
}

.sc-social-icon:hover {
  border-color: var(--sc-color-accent);
  color: var(--sc-color-accent);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.sc-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.sc-newsletter-input {
  flex: 1;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  font-family: var(--sc-font-body);
  font-size: 16px;
  color: var(--sc-color-text);
}

.sc-newsletter-input:focus {
  outline: none;
  border-color: var(--sc-color-accent);
}

.sc-newsletter-btn {
  padding: 8px 16px;
  background: var(--sc-color-secondary);
  border: none;
  border-radius: var(--sc-radius);
  color: var(--sc-color-text);
  font-family: var(--sc-font-body);
  font-size: 16px;
  cursor: pointer;
  transition: var(--sc-transition);
}

.sc-newsletter-btn:hover {
  background: var(--sc-color-accent);
}

.sc-footer-bottom {
  max-width: 1440px;
  margin: 30px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(138, 43, 226, 0.2);
  text-align: center;
}

.sc-footer-award {
  font-size: 18px;
  color: var(--sc-color-primary);
  margin-bottom: 8px;
}

.sc-footer-license {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.sc-footer-copyright {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 8px;
}

/* === 时光胶囊页面 === */
.sc-capsule-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
  position: relative;
}

.sc-capsule-visual {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin-bottom: 30px;
  animation: sc-float 4s ease-in-out infinite;
}

.sc-capsule-form {
  width: 100%;
  max-width: 600px;
  background: var(--sc-color-card-bg);
  border: 2px solid var(--sc-color-border);
  border-radius: 12px;
  padding: 30px;
}

.sc-capsule-field {
  margin-bottom: 20px;
}

.sc-capsule-label {
  display: block;
  font-family: var(--sc-font-heading);
  font-size: 10px;
  color: var(--sc-color-primary);
  margin-bottom: 8px;
}

.sc-capsule-input,
.sc-capsule-textarea,
.sc-capsule-date {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  font-family: var(--sc-font-body);
  font-size: 18px;
  color: var(--sc-color-text);
}

.sc-capsule-textarea {
  height: 120px;
  resize: vertical;
}

.sc-capsule-input:focus,
.sc-capsule-textarea:focus,
.sc-capsule-date:focus {
  outline: none;
  border-color: var(--sc-color-accent);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.sc-capsule-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(138, 43, 226, 0.2);
  border: 1px dashed var(--sc-color-secondary);
  border-radius: var(--sc-radius);
  cursor: pointer;
  font-size: 18px;
  color: var(--sc-color-primary);
  transition: var(--sc-transition);
}

.sc-capsule-file-label:hover {
  border-color: var(--sc-color-accent);
  background: rgba(255, 0, 255, 0.1);
}

.sc-capsule-file-input {
  display: none;
}

.sc-capsule-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.sc-capsule-success.sc-show {
  display: block;
}

.sc-capsule-rocket {
  font-size: 60px;
  animation: sc-capsule-launch 2s ease-out forwards;
}

/* === APP下载页 === */
.sc-app-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.sc-app-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.2), transparent 70%);
  animation: sc-cd-spin 20s linear infinite;
  pointer-events: none;
}

.sc-app-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.sc-app-hero-img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin: 0 auto 30px;
  border: 2px solid var(--sc-color-border);
}

.sc-app-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.sc-app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(138, 43, 226, 0.3);
  border: 2px solid var(--sc-color-secondary);
  border-radius: 12px;
  color: var(--sc-color-text);
  font-family: var(--sc-font-body);
  font-size: 20px;
  transition: var(--sc-transition);
  text-decoration: none;
}

.sc-app-store-btn:hover {
  background: var(--sc-color-secondary);
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* === 内页通用样式 === */
.sc-page-header {
  padding: 50px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.12) 0%, transparent 100%);
}

.sc-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.sc-article-body {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

.sc-article-body p {
  margin-bottom: 20px;
}

.sc-article-body img {
  width: 100%;
  border-radius: var(--sc-radius);
  border: 1px solid var(--sc-color-border);
  margin: 20px 0;
}

.sc-article-body h2 {
  font-family: var(--sc-font-heading);
  font-size: 14px;
  color: var(--sc-color-primary);
  margin: 30px 0 16px;
}

/* === 栏目页卡片列表 === */
.sc-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

.sc-content-card {
  background: var(--sc-color-card-bg);
  border: 1px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  overflow: hidden;
  transition: var(--sc-transition);
}

.sc-content-card:hover {
  border-color: var(--sc-color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.2);
}

.sc-content-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.sc-content-card-body {
  padding: 16px;
}

.sc-content-card-title {
  font-family: var(--sc-font-heading);
  font-size: 10px;
  color: var(--sc-color-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.sc-content-card-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.sc-content-card-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
}

/* === 游戏画布 === */
.sc-game-canvas-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#sc-snake-canvas {
  border: 2px solid var(--sc-color-secondary);
  border-radius: 4px;
  background: #000;
  image-rendering: pixelated;
}

.sc-game-score {
  font-family: var(--sc-font-heading);
  font-size: 12px;
  color: var(--sc-color-accent);
}

.sc-game-controls {
  display: flex;
  gap: 8px;
}

.sc-game-ctrl-btn {
  width: 44px;
  height: 44px;
  background: rgba(138, 43, 226, 0.3);
  border: 1px solid var(--sc-color-secondary);
  border-radius: 4px;
  color: var(--sc-color-text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === 加载动画 === */
.sc-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--sc-color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.sc-loader.sc-hidden {
  opacity: 0;
  pointer-events: none;
}

.sc-loader-text {
  font-family: var(--sc-font-heading);
  font-size: 12px;
  color: var(--sc-color-primary);
  margin-bottom: 20px;
  animation: sc-blink 1s infinite;
}

.sc-loader-bar {
  width: 300px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.sc-loader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-color-secondary), var(--sc-color-accent));
  border-radius: 4px;
  transition: width 0.3s;
}

/* === 视频播放器样式 (栏目页) === */
.sc-video-player {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #000;
  border: 2px solid var(--sc-color-border);
  border-radius: var(--sc-radius);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.sc-video-play-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(138, 43, 226, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: var(--sc-transition);
}

.sc-video-player:hover .sc-video-play-icon {
  background: var(--sc-color-accent);
  transform: scale(1.1);
}

/* === 文章页样式 === */
.sc-article {
  padding: 40px 0;
}

.sc-article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sc-article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid var(--sc-color-secondary);
  border-radius: 20px;
  font-size: 14px;
  color: var(--sc-color-secondary);
}

.sc-article-date,
.sc-article-author {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.sc-article-hero {
  width: 100%;
  border-radius: var(--sc-radius);
  border: 2px solid var(--sc-color-border);
  margin-bottom: 30px;
}

.sc-article-share {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(138, 43, 226, 0.2);
}
