/* ============================================================
   星座风棋牌平台 - 主样式表
   Constellation Neon Metropolis Style
   ============================================================ */

/* --- 字体定义 --- */
@font-face {
  font-family: 'Cinzel';
  src: url('../fonts/Cinzel-Variable.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('../fonts/Spectral-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('../fonts/Spectral-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* --- CSS变量（5色体系） --- */
:root {
  --midnight-black: #CFD8DC;
  --neon-magenta: #4A148C;
  --neon-cyan: #FFD700;
  --deep-space-blue: #1A237E;
  --silver-gray: #0A0A0A;
  --bg-dark: #0d0d1a;
  --bg-darker: #070710;
  --card-bg: rgba(26, 35, 126, 0.35);
  --card-border: rgba(74, 20, 140, 0.5);
  --text-primary: #CFD8DC;
  --text-secondary: #90A4AE;
  --glow-magenta: 0 0 15px rgba(74, 20, 140, 0.6), 0 0 30px rgba(74, 20, 140, 0.3);
  --glow-cyan: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
  --font-heading: 'Cinzel', 'PingFang SC', sans-serif;
  --font-body: 'Spectral', 'Microsoft YaHei', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* --- 背景电路纹理 --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(26, 35, 126, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 35, 126, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* --- 排版 --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5 { font-size: clamp(1rem, 1.5vw, 1.3rem); }
h6 { font-size: clamp(0.9rem, 1.2vw, 1.1rem); }

p {
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--text-primary);
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--neon-magenta);
  text-shadow: var(--glow-cyan);
}

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

/* --- 导航栏（非Sticky） --- */
.constellation-nav-bar {
  position: relative;
  width: 100%;
  background: rgba(13, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--neon-magenta);
  box-shadow: 0 2px 20px rgba(74, 20, 140, 0.3);
  z-index: 100;
  padding: 0 1rem;
}

.constellation-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.constellation-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.constellation-nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.constellation-nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

.constellation-nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.constellation-nav-links li a {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.constellation-nav-links li a:hover,
.constellation-nav-links li a.constellation-active {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

.constellation-nav-links li a.constellation-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  animation: constellation-flicker 3s infinite;
}

/* 移动端菜单按钮 */
.constellation-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.constellation-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* --- 面包屑导航 --- */
.constellation-breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
}

.constellation-breadcrumb a {
  color: var(--text-secondary);
}

.constellation-breadcrumb a:hover {
  color: var(--neon-cyan);
}

.constellation-breadcrumb span {
  color: var(--neon-cyan);
}

/* --- Hero区域 --- */
.constellation-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.constellation-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.constellation-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 26, 0.75);
  z-index: 2;
}

.constellation-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.constellation-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
  margin-bottom: 1rem;
  animation: constellation-flicker 4s infinite;
}

.constellation-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.constellation-hero-text {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.9;
}

/* --- 按钮 --- */
.constellation-btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--neon-magenta);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
}

.constellation-btn-primary:hover {
  background: #6A1B9A;
  box-shadow: var(--glow-magenta);
  color: #fff;
  transform: translateY(-2px);
}

.constellation-btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 1rem;
  border: 2px solid var(--neon-cyan);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
}

.constellation-btn-secondary:hover {
  box-shadow: var(--glow-cyan);
  color: var(--neon-cyan);
  transform: translateY(-2px);
}

.constellation-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 区块容器 --- */
.constellation-section {
  position: relative;
  padding: 4rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  z-index: 1;
}

.constellation-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.constellation-section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 0.8rem;
}

.constellation-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-magenta), var(--neon-cyan), var(--neon-magenta), transparent);
}

/* --- 卡片网格 --- */
.constellation-grid-matrix {
  display: grid;
  gap: 1.5rem;
}

.constellation-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.constellation-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.constellation-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* --- 游戏卡片 --- */
.constellation-casino-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.constellation-casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.1), transparent);
  pointer-events: none;
}

.constellation-casino-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2), 0 0 40px rgba(74, 20, 140, 0.15);
  transform: translateY(-4px);
}

.constellation-casino-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.constellation-card-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.constellation-card-status .constellation-status-hot {
  color: var(--neon-magenta);
  text-shadow: 0 0 8px rgba(74, 20, 140, 0.5);
}

.constellation-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

/* --- 试玩区 --- */
.constellation-trial-zone {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem;
}

.constellation-trial-list {
  list-style: none;
}

.constellation-trial-list li {
  padding: 0.8rem 1rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.constellation-trial-list li:hover,
.constellation-trial-list li.constellation-active {
  border-left-color: var(--neon-magenta);
  background: rgba(74, 20, 140, 0.15);
  color: var(--neon-cyan);
}

.constellation-trial-screen {
  border: 1px solid var(--neon-magenta);
  box-shadow: inset 0 0 30px rgba(74, 20, 140, 0.2);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.constellation-trial-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- 全息影院 --- */
.constellation-cinema-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.constellation-cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-darker);
  overflow: hidden;
}

.constellation-cinema-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2);
}

.constellation-cinema-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(7, 7, 16, 0.8);
}

/* --- 注册表单 --- */
.constellation-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.constellation-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(7, 7, 16, 0.6);
  border: none;
  border-bottom: 2px solid var(--neon-cyan);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  min-height: 44px;
}

.constellation-form-input:focus {
  outline: none;
  border-bottom-color: var(--neon-magenta);
  box-shadow: 0 2px 10px rgba(74, 20, 140, 0.3);
  animation: constellation-flicker 2s infinite;
}

/* --- 充值广告牌 --- */
.constellation-billboard {
  background: linear-gradient(135deg, rgba(74, 20, 140, 0.3), rgba(26, 35, 126, 0.4));
  border: 2px solid var(--neon-magenta);
  box-shadow: var(--glow-magenta);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.constellation-billboard::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, var(--neon-magenta), var(--neon-cyan), var(--neon-magenta));
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
}

/* --- 活动广场 --- */
.constellation-quest-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.constellation-quest-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.constellation-quest-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--neon-magenta);
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  margin-bottom: 0.8rem;
}

/* --- VIP摩天楼 --- */
.constellation-vip-tower {
  position: relative;
}

.constellation-vip-floor {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--card-bg);
  border-left: 4px solid var(--neon-magenta);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.constellation-vip-floor:hover {
  border-left-color: var(--neon-cyan);
  background: rgba(26, 35, 126, 0.5);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.constellation-vip-level {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--neon-cyan);
  min-width: 80px;
}

/* --- 安全认证 --- */
.constellation-security-zone {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 3rem 2rem;
  text-align: center;
}

.constellation-security-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.constellation-security-badge {
  width: 120px;
  text-align: center;
}

.constellation-security-badge img {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* --- 负责任博弈 --- */
.constellation-curfew-protocol {
  background: rgba(7, 7, 16, 0.9);
  border-top: 1px solid rgba(74, 20, 140, 0.3);
  padding: 3rem 1.5rem;
}

.constellation-curfew-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.constellation-age-warning {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--neon-magenta);
  text-shadow: var(--glow-magenta);
  border: 3px solid var(--neon-magenta);
  padding: 0.5rem 1rem;
  line-height: 1;
}

/* --- 页脚 --- */
.constellation-footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(74, 20, 140, 0.3);
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.constellation-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.constellation-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.constellation-footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
}

.constellation-footer-col ul {
  list-style: none;
}

.constellation-footer-col ul li {
  margin-bottom: 0.5rem;
}

.constellation-footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.constellation-footer-col ul li a:hover {
  color: var(--neon-cyan);
}

.constellation-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.constellation-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.75rem;
  transition: all 0.3s;
  font-family: var(--font-heading);
}

.constellation-footer-social a:hover {
  background: var(--neon-cyan);
  color: var(--bg-dark);
  box-shadow: var(--glow-cyan);
}

.constellation-footer-payment {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.constellation-footer-payment span {
  padding: 4px 12px;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  opacity: 0.7;
}

.constellation-footer-bottom {
  border-top: 1px solid rgba(74, 20, 140, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.constellation-footer-license {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.constellation-footer-age {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.constellation-footer-age-badge {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--neon-magenta);
  border: 2px solid var(--neon-magenta);
  padding: 2px 8px;
  text-shadow: var(--glow-magenta);
}

.constellation-footer-age span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --- 内页内容区 --- */
.constellation-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}

.constellation-page-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.constellation-page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.constellation-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13, 13, 26, 0.6), rgba(13, 13, 26, 0.9));
}

.constellation-page-hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

/* --- 内容图片网格 --- */
.constellation-img-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.constellation-img-grid img {
  width: 100%;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.constellation-img-grid img:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

/* --- RTP表格 --- */
.constellation-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.constellation-data-table th {
  background: rgba(74, 20, 140, 0.3);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--neon-magenta);
}

.constellation-data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(26, 35, 126, 0.3);
  color: var(--text-primary);
}

.constellation-data-table tr:hover td {
  background: rgba(26, 35, 126, 0.2);
}

/* --- FAQ --- */
.constellation-faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  margin-bottom: 1rem;
  overflow: hidden;
}

.constellation-faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  color: var(--neon-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  transition: background 0.3s;
}

.constellation-faq-question:hover {
  background: rgba(74, 20, 140, 0.15);
}

.constellation-faq-answer {
  padding: 0 1.5rem 1rem;
  color: var(--text-primary);
  display: none;
}

.constellation-faq-item.constellation-open .constellation-faq-answer {
  display: block;
}

/* --- APP下载 --- */
.constellation-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.constellation-download-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem;
  text-align: center;
}

.constellation-download-card img {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* ============================================================
   动画效果
   ============================================================ */

/* 动画1：星座闪烁 */
@keyframes constellation-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.7; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}

/* 动画2：全息投影显现 */
@keyframes constellation-hologram-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px) hue-rotate(20deg);
  }
  50% {
    opacity: 0.6;
    filter: blur(2px) hue-rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0) hue-rotate(0deg);
  }
}

.constellation-hologram-in {
  animation: constellation-hologram-reveal 0.8s ease-out forwards;
}

/* 动画3：脉冲波纹 */
@keyframes constellation-pulse-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 20, 140, 0.4);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(74, 20, 140, 0);
  }
}

.constellation-casino-card:hover,
.constellation-btn-primary:hover {
  animation: constellation-pulse-ripple 0.6s ease-out;
}

/* 动画4：数据流瀑布（通过Canvas实现，CSS备用） */
@keyframes constellation-data-fall {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* ============================================================
   响应式设计
   ============================================================ */

@media (max-width: 1024px) {
  .constellation-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .constellation-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .constellation-trial-zone {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .constellation-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 26, 0.98);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 2px solid var(--neon-magenta);
  }

  .constellation-nav-links.constellation-nav-open {
    display: flex;
  }

  .constellation-nav-links li a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .constellation-menu-toggle {
    display: flex;
  }

  .constellation-grid-6,
  .constellation-grid-3,
  .constellation-grid-2 {
    grid-template-columns: 1fr;
  }

  .constellation-download-grid {
    grid-template-columns: 1fr;
  }

  .constellation-img-grid {
    grid-template-columns: 1fr;
  }

  .constellation-footer-grid {
    grid-template-columns: 1fr;
  }

  .constellation-curfew-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .constellation-hero-content h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .constellation-billboard {
    padding: 2rem 1rem;
  }

  .constellation-vip-floor {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 414px) {
  html {
    font-size: 14px;
  }

  .constellation-section {
    padding: 2.5rem 1rem;
  }

  .constellation-btn-primary,
  .constellation-btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%;
  }

  .constellation-btn-group {
    flex-direction: column;
  }
}

/* --- 滚动条美化 --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--neon-magenta);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6A1B9A;
}
