/* 科技感、游戏感、高级感主题 */
:root {
  /* 科技感配色 */
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --accent: #ff00ff;
  --accent-gold: #ffd700;
  --accent-purple: #9d4edd;
  --bg-dark: #0a0e27;
  --bg-darker: #050810;
  --bg-card: #1a1f3a;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #6b7a99;
  --border-glow: rgba(0, 212, 255, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  --shadow-glow-strong: 0 0 30px rgba(0, 212, 255, 0.6);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body { 
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; 
  color: var(--text-primary); 
  background: var(--bg-dark);
  overflow-x: hidden;
}

/* 科技感背景 - 深色渐变 + 网格线 */
.page-bg { 
  position: fixed; 
  inset: 0; 
  z-index: -2; 
  background: 
    linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 212, 255, 0.03) 2px, rgba(0, 212, 255, 0.03) 4px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
  0%, 100% { background-position: 0% 0%, 0 0, 0 0; }
  50% { background-position: 100% 100%, 20px 20px, 20px 20px; }
}

/* ========== Hero Banner ========== */
.hero { 
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(157, 78, 221, 0.15) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-inner { padding: 40px 0 30px; position: relative; z-index: 1; }
.hero-banner { 
  position: relative; 
  max-width: 1200px; 
  width: calc(100% - 48px); 
  margin: 0 auto; 
  height: 400px; 
  border-radius: 16px; 
  overflow: hidden; 
  background: var(--bg-card);
  border: 2px solid var(--border-glow);
  box-shadow: var(--shadow-glow-strong), inset 0 0 60px rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.hero-banner:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.8), inset 0 0 80px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.hero-banner::after { 
  content:""; 
  position:absolute; 
  inset:0; 
  background:linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.6)); 
  pointer-events:none; 
}

.hero-characters { 
  position:absolute; 
  inset:0; 
  background:
    radial-gradient(900px 260px at 80% 80%, rgba(0, 212, 255, 0.1), transparent 60%);
  filter: blur(1px);
}

.hero-title-wrap { 
  position:absolute; 
  left:50%; 
  top:50%; 
  transform:translate(-50%,-50%); 
  text-align:center; 
  pointer-events:none; 
  padding: 20px 40px;
  z-index: 2;
}

.hero-title { 
  font-size: 64px; 
  letter-spacing: 12px; 
  color: var(--text-primary); 
  text-shadow: 
    0 0 10px rgba(0, 212, 255, 0.8),
    0 0 20px rgba(0, 212, 255, 0.6),
    0 0 30px rgba(0, 212, 255, 0.4),
    0 4px 8px rgba(0,0,0,.8);
  font-weight: 900;
  text-transform: uppercase;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 20px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.4), 0 4px 8px rgba(0,0,0,.8); }
  50% { text-shadow: 0 0 20px rgba(0, 212, 255, 1), 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.6), 0 4px 8px rgba(0,0,0,.8); }
}

.hero-sub { 
  margin-top: 12px; 
  color: var(--text-secondary); 
  opacity: 0.9; 
  font-weight: 600; 
  letter-spacing: 4px; 
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-size: 16px;
}

/* ========== 通用面板 ========== */
.main { padding: 30px 0 60px; }
.panel { 
  max-width: 1200px; 
  width: calc(100% - 48px); 
  margin: 0 auto 30px; 
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 16px; 
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.panel:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-4px);
}

.panel-head { 
  padding: 16px 24px; 
  display:flex; 
  justify-content:center; 
  align-items:center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(157, 78, 221, 0.1));
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.panel-head.gradient-head { 
  position: relative; 
  padding: 0; 
  height: 64px; 
  display: flex; 
  justify-content: center; 
  align-items: center;
  background: transparent;
  border-bottom: none;
}

.panel-head.gradient-head h2 { 
  position: relative; 
  z-index: 1; 
  font-size: 18px; 
  color: var(--text-primary);
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.panel-head.gradient-head::before { 
  content:""; 
  position:absolute; 
  left:50%; 
  top:50%; 
  transform:translate(-50%, -50%); 
  width: min(700px, 90vw); 
  height: 40px; 
  border-radius: 999px; 
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent-purple));
  box-shadow: 
    0 0 20px rgba(0, 212, 255, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.panel-body { 
  background: rgba(26, 31, 58, 0.5); 
  margin: 0; 
  border: none;
  border-radius: 0;
  padding: 32px 28px;
}

/* ========== 合作主播 (头像栅格) ========== */
.avatar-grid { 
  list-style:none; 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
  gap: 28px 16px; 
  justify-items:center; 
}

.avatar-item { 
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  gap:12px; 
  font-size:14px; 
  color: var(--text-secondary);
  font-style: italic; 
  transition: all 0.3s ease;
  cursor: pointer;
}

.avatar-item:hover { 
  transform: translateY(-6px) scale(1.05); 
  filter: brightness(1.2);
}

.avatar-item:hover .avatar {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
  border-color: var(--primary);
}

.avatar { 
  width:90px; 
  height:90px; 
  border-radius:50%; 
  background: var(--bg-darker);
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.1);
  display:block;
  transition: all 0.3s ease;
  position: relative;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, var(--primary), var(--accent-purple), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.avatar-item:hover .avatar::after {
  opacity: 1;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* ========== 品类图标 ========== */
.games-grid { 
  list-style:none; 
  display:grid; 
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
  gap: 32px 18px; 
  justify-items:center; 
}

.game { 
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  gap:14px; 
  font-size:15px; 
  color: var(--text-secondary);
  font-style: italic; 
  transition: all 0.3s ease;
  cursor: pointer;
}

.game:hover { 
  transform: translateY(-8px) scale(1.08);
}

.game:hover .game-icon {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(157, 78, 221, 0.4);
  border-color: var(--primary);
}

.game-icon { 
  width:100px; 
  height:100px; 
  border-radius:50%; 
  background: var(--bg-darker);
  border: 3px solid rgba(0, 212, 255, 0.4);
  display:flex; 
  align-items:center; 
  justify-content:center; 
  color: var(--text-primary);
  font-weight:800;
  font-size: 24px;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(0, 212, 255, 0.1);
  overflow:hidden;
  transition: all 0.3s ease;
  position: relative;
}

.game-icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(var(--primary), var(--accent-purple), var(--accent), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game:hover .game-icon::before {
  opacity: 1;
  animation: rotate 3s linear infinite;
}

.game-icon img{ 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  border-radius:50%;
  filter: brightness(1.1) contrast(1.1);
}

/* ========== 黑色信息大卡 ========== */
.dark-board { 
  background: var(--bg-card);
  border-color: rgba(0, 212, 255, 0.3);
  border-radius: 16px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.dark-board-inner { 
  margin: 0; 
  border: none;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(26, 31, 58, 0.8));
  color: var(--text-primary);
  display:grid; 
  grid-template-columns: 360px 1fr 1fr; 
  gap: 20px; 
  padding: 24px; 
  border-radius: 0 0 14px 14px;
}

.poster { 
  display:flex; 
  flex-direction:column; 
  gap:16px; 
}

.poster-img { 
  height: 280px; 
  border: 2px solid rgba(0, 212, 255, 0.3);
  background: var(--bg-darker);
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
}

.poster-img:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), inset 0 0 40px rgba(0, 212, 255, 0.2);
}

.poster-badges { 
  list-style:none; 
  display:grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 12px; 
}

.poster-badges li { 
  height:64px; 
  border-radius:50%; 
  background: var(--bg-darker);
  border: 2px solid rgba(0, 212, 255, 0.3);
  display:flex; 
  align-items:center; 
  justify-content:center; 
  font-weight:700; 
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.poster-badges li:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
  transform: scale(1.1);
}

.board-mid { 
  position:relative; 
  border: 2px solid rgba(0, 212, 255, 0.3);
  background: var(--bg-darker);
  padding:20px 18px 14px; 
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.ribbon { 
  position:absolute; 
  left:18px; 
  top:-14px; 
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  color: var(--text-primary);
  padding:6px 14px; 
  border-radius:6px; 
  font-weight:800; 
  font-size:13px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.price-list { 
  list-style:none; 
  display:flex; 
  flex-direction:column; 
  gap:12px; 
  font-size:14px; 
  line-height:1.8;
  color: var(--text-secondary);
}

.price-list .dot { 
  display:inline-block; 
  width:8px; 
  height:8px; 
  background: var(--primary);
  border-radius:50%; 
  margin-right:10px; 
  vertical-align:middle;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.board-right { 
  border: 2px solid rgba(0, 212, 255, 0.3);
  background: var(--bg-darker);
  padding:20px; 
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.board-title { 
  font-size:18px; 
  color: var(--text-primary);
  margin-bottom:12px; 
  font-weight:800;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.board-text { 
  font-size:14px; 
  color: var(--text-secondary);
  line-height:1.9; 
  display:flex; 
  flex-direction:column; 
  gap:8px; 
}

/* ========== 底部说明列表 ========== */
.notice-list { 
  list-style:none; 
  display:flex; 
  flex-direction:column; 
  gap:10px; 
  color: var(--text-secondary);
  font-size:14px; 
}

.notice-list li { 
  position:relative; 
  padding-left:22px; 
}

.notice-list li::before { 
  content:""; 
  position:absolute; 
  left:0; 
  top:.6em; 
  width:10px; 
  height:10px; 
  border-radius:2px; 
  background: var(--primary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* ========== Footer ========== */
.footer { 
  max-width: 1200px; 
  width: calc(100% - 48px); 
  margin: 20px auto 60px; 
  text-align:center; 
  color: var(--text-muted);
  font-size:13px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .hero-banner { height: 320px; }
  .hero-title { font-size: 48px; letter-spacing: 8px; }
  .avatar { width:80px; height:80px; }
  .game-icon { width:90px; height:90px; }
}

@media (max-width: 768px) {
  .panel-head.gradient-head { height: 56px; }
  .panel-head.gradient-head::before { width: min(600px, 92vw); height: 36px; }
  .games-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 24px 12px; }
  .avatar-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px 12px; }
  .panel-body { padding: 24px 18px; }
  .hero-banner { height: 280px; }
  .hero-title { font-size: 36px; letter-spacing: 6px; }
  .dark-board-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .panel-head.gradient-head::before { width: 94vw; height: 32px; }
  .game-icon { width:80px; height:80px; }
  .avatar { width:70px; height:70px; }
  .hero-banner { height: 240px; }
  .hero-title { font-size: 28px; letter-spacing: 4px; }
}
