/* ============================================================
   竹韵风（Neon Metropolis Style）主样式表
   bamboo-main.css
   色值体系：
   午夜黑 #E53935 | 竹韵洋红 #4CAF50 | 竹韵青 #F5F5F0
   深空蓝 #1A1A1A | 银灰 #FFB300
   ============================================================ */

/* === 字体定义 === */
@font-face {
  font-family: 'Ma Shan Zheng';
  src: url('../fonts/MaShanZheng-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans SC';
  src: url('../fonts/NotoSansSC-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* === CSS变量 === */
:root {
  --bamboo-midnight: #E53935;
  --bamboo-neon-magenta: #4CAF50;
  --bamboo-neon-cyan: #F5F5F0;
  --bamboo-deep-blue: #1A1A1A;
  --bamboo-silver: #FFB300;
  --bamboo-font-heading: 'Ma Shan Zheng', 'PingFang SC', sans-serif;
  --bamboo-font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --bamboo-glow-magenta: 0 0 10px rgba(76,175,80,0.6), 0 0 20px rgba(76,175,80,0.3);
  --bamboo-glow-cyan: 0 0 10px rgba(245,245,240,0.5), 0 0 20px rgba(245,245,240,0.2);
  --bamboo-glow-border: 0 0 8px rgba(76,175,80,0.5), inset 0 0 8px rgba(76,175,80,0.1);
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--bamboo-font-body);
  background-color: var(--bamboo-deep-blue);
  color: var(--bamboo-silver);
  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(76,175,80,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,175,80,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* === 数据流瀑布背景 === */
#jade-data-waterfall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

/* === 标题字体 === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--bamboo-font-heading);
  color: var(--bamboo-neon-cyan);
  line-height: 1.4;
  margin-bottom: 1rem;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

a {
  color: var(--bamboo-neon-magenta);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
  color: var(--bamboo-neon-cyan);
  text-shadow: var(--bamboo-glow-cyan);
}

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

/* === 导航栏 === */
.bamboo-nav-bar {
  position: relative;
  width: 100%;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--bamboo-neon-magenta);
  box-shadow: 0 2px 20px rgba(76,175,80,0.3);
  z-index: 1000;
  padding: 0 1.5rem;
}
.bamboo-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.bamboo-nav-logo img {
  height: 40px;
  width: auto;
}
.bamboo-nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}
.bamboo-nav-links li {
  position: relative;
}
.bamboo-nav-links a {
  display: block;
  padding: 1.2rem 1rem;
  color: var(--bamboo-silver);
  font-family: var(--bamboo-font-body);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
}
.bamboo-nav-links a:hover,
.bamboo-nav-links a.bamboo-active {
  color: var(--bamboo-neon-cyan);
  text-shadow: var(--bamboo-glow-cyan);
}
.bamboo-nav-links a.bamboo-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--bamboo-neon-cyan);
  box-shadow: var(--bamboo-glow-cyan);
  animation: bamboo-flicker 3s infinite;
}

/* 移动端菜单按钮 */
.bamboo-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.bamboo-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--bamboo-neon-magenta);
  box-shadow: var(--bamboo-glow-magenta);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.bamboo-menu-toggle.bamboo-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.bamboo-menu-toggle.bamboo-open span:nth-child(2) {
  opacity: 0;
}
.bamboo-menu-toggle.bamboo-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* === Hero区域 === */
.bamboo-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bamboo-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.bamboo-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,26,26,0.7);
  z-index: 1;
}
.bamboo-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}
.bamboo-hero-content h1 {
  font-size: 3.2rem;
  color: var(--bamboo-neon-cyan);
  text-shadow: 0 0 30px rgba(245,245,240,0.5), 0 0 60px rgba(76,175,80,0.3);
  margin-bottom: 1rem;
  animation: bamboo-flicker 4s infinite;
}
.bamboo-hero-subtitle {
  font-size: 1.35rem;
  color: var(--bamboo-silver);
  margin-bottom: 1.5rem;
}
.bamboo-hero-text {
  font-size: 1rem;
  color: var(--bamboo-silver);
  margin-bottom: 2rem;
  line-height: 1.9;
  text-align: left;
}
.bamboo-hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === 按钮 === */
.bamboo-btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--bamboo-neon-magenta);
  color: var(--bamboo-deep-blue);
  font-family: var(--bamboo-font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.bamboo-btn-primary:hover {
  box-shadow: var(--bamboo-glow-magenta);
  transform: translateY(-2px);
  color: var(--bamboo-deep-blue);
}
.bamboo-btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--bamboo-neon-cyan);
  font-family: var(--bamboo-font-body);
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--bamboo-neon-cyan);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
  text-align: center;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.bamboo-btn-secondary:hover {
  box-shadow: var(--bamboo-glow-cyan);
  background: rgba(245,245,240,0.1);
  color: var(--bamboo-neon-cyan);
  transform: translateY(-2px);
}

/* === 通用模块容器 === */
.bamboo-section {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.bamboo-section-full {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  width: 100%;
}
.bamboo-section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.bamboo-section-title h2 {
  font-size: 2.2rem;
  color: var(--bamboo-neon-cyan);
  text-shadow: var(--bamboo-glow-cyan);
  position: relative;
  display: inline-block;
}
.bamboo-section-title h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bamboo-neon-magenta), transparent);
  margin: 0.8rem auto 0;
  box-shadow: var(--bamboo-glow-magenta);
}

/* === 卡片 === */
.bamboo-card {
  background: var(--bamboo-deep-blue);
  border: 1px solid rgba(76,175,80,0.3);
  box-shadow: var(--bamboo-glow-border);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.bamboo-card:hover {
  border-color: var(--bamboo-neon-magenta);
  box-shadow: 0 0 15px rgba(76,175,80,0.4), inset 0 0 15px rgba(76,175,80,0.1);
  transform: translateY(-4px);
}
.bamboo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}
.bamboo-card h3 {
  font-size: 1.3rem;
  color: var(--bamboo-neon-cyan);
  margin-bottom: 0.5rem;
}
.bamboo-card p {
  color: var(--bamboo-silver);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === 六大游戏网格 === */
.bamboo-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* === 试玩区 === */
.bamboo-trial-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.bamboo-trial-list {
  list-style: none;
}
.bamboo-trial-list li {
  padding: 1rem;
  border-left: 3px solid rgba(76,175,80,0.3);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.bamboo-trial-list li:hover,
.bamboo-trial-list li.bamboo-active {
  border-left-color: var(--bamboo-neon-magenta);
  background: rgba(76,175,80,0.08);
  color: var(--bamboo-neon-cyan);
}
.bamboo-trial-screen {
  background: var(--bamboo-deep-blue);
  border: 2px solid var(--bamboo-neon-magenta);
  box-shadow: var(--bamboo-glow-border);
  padding: 2rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === 影院 === */
.bamboo-cinema-screen {
  background: var(--bamboo-deep-blue);
  border: 2px solid rgba(245,245,240,0.2);
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
}
.bamboo-cinema-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bamboo-cinema-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.bamboo-video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

/* === 注册表单 === */
.bamboo-form-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bamboo-deep-blue);
  border: 1px solid rgba(76,175,80,0.3);
  box-shadow: var(--bamboo-glow-border);
  padding: 2.5rem;
}
.bamboo-form-group {
  margin-bottom: 1.5rem;
}
.bamboo-form-group label {
  display: block;
  color: var(--bamboo-neon-cyan);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.bamboo-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(26,26,26,0.8);
  border: none;
  border-bottom: 2px solid rgba(245,245,240,0.3);
  color: var(--bamboo-silver);
  font-family: var(--bamboo-font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  min-height: 44px;
}
.bamboo-form-input:focus {
  outline: none;
  border-bottom-color: var(--bamboo-neon-cyan);
  box-shadow: 0 2px 10px rgba(245,245,240,0.2);
  animation: bamboo-flicker 2s infinite;
}

/* === 广告牌 === */
.bamboo-billboard {
  background: linear-gradient(135deg, rgba(76,175,80,0.15), rgba(26,26,26,0.95));
  border: 2px solid var(--bamboo-neon-magenta);
  box-shadow: 0 0 30px rgba(76,175,80,0.3);
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.bamboo-billboard h3 {
  font-size: 1.8rem;
  color: var(--bamboo-neon-magenta);
  text-shadow: var(--bamboo-glow-magenta);
}

/* === 活动集市 === */
.bamboo-quest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.bamboo-quest-card {
  background: var(--bamboo-deep-blue);
  border: 1px solid rgba(76,175,80,0.2);
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}
.bamboo-quest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bamboo-neon-magenta);
  box-shadow: var(--bamboo-glow-magenta);
}
.bamboo-quest-card:hover {
  border-color: var(--bamboo-neon-magenta);
  transform: translateX(4px);
}

/* === VIP摩天楼 === */
.bamboo-vip-tower {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}
.bamboo-vip-floor {
  background: var(--bamboo-deep-blue);
  border: 1px solid rgba(76,175,80,0.2);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
.bamboo-vip-floor:hover {
  border-color: var(--bamboo-neon-magenta);
  box-shadow: var(--bamboo-glow-border);
}
.bamboo-vip-level {
  font-family: var(--bamboo-font-heading);
  font-size: 1.5rem;
  color: var(--bamboo-neon-magenta);
  min-width: 80px;
  text-align: center;
}
.bamboo-vip-info h4 {
  color: var(--bamboo-neon-cyan);
  margin-bottom: 0.3rem;
}

/* === 安全认证 === */
.bamboo-security-zone {
  text-align: center;
}
.bamboo-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.bamboo-badge-item {
  text-align: center;
}
.bamboo-badge-item img {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.8rem;
  border: 2px solid rgba(76,175,80,0.3);
  border-radius: 50%;
  padding: 10px;
}

/* === 负责任博弈 === */
.bamboo-curfew-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: rgba(26,26,26,0.6);
  padding: 2.5rem;
  border: 1px solid rgba(229,57,53,0.3);
}
.bamboo-curfew-icon {
  flex-shrink: 0;
}
.bamboo-curfew-icon img {
  width: 80px;
  height: 80px;
}
.bamboo-curfew-text {
  flex: 1;
}
.bamboo-curfew-text h3 {
  color: var(--bamboo-midnight);
  margin-bottom: 1rem;
}

/* === 面包屑 === */
.bamboo-breadcrumb {
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--bamboo-silver);
  position: relative;
  z-index: 1;
}
.bamboo-breadcrumb a {
  color: var(--bamboo-neon-magenta);
}
.bamboo-breadcrumb span {
  margin: 0 0.5rem;
  color: rgba(255,179,0,0.5);
}

/* === 内页内容区 === */
.bamboo-page-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.bamboo-page-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  text-shadow: var(--bamboo-glow-cyan);
}
.bamboo-page-content p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
}
.bamboo-page-content img {
  margin: 1.5rem 0;
  border: 1px solid rgba(76,175,80,0.2);
}
.bamboo-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.bamboo-content-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* === 页脚 === */
.bamboo-footer {
  position: relative;
  z-index: 1;
  background: rgba(26,26,26,0.95);
  border-top: 2px solid var(--bamboo-neon-magenta);
  box-shadow: 0 -2px 20px rgba(76,175,80,0.2);
  padding: 3rem 1.5rem 1.5rem;
}
.bamboo-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.bamboo-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.bamboo-footer-col h4 {
  color: var(--bamboo-neon-cyan);
  font-family: var(--bamboo-font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.bamboo-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--bamboo-neon-magenta);
}
.bamboo-footer-col ul {
  list-style: none;
}
.bamboo-footer-col li {
  margin-bottom: 0.6rem;
}
.bamboo-footer-col a {
  color: var(--bamboo-silver);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.bamboo-footer-col a:hover {
  color: var(--bamboo-neon-cyan);
  padding-left: 4px;
}
.bamboo-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}
.bamboo-footer-social img {
  width: 36px;
  height: 36px;
  transition: all 0.3s ease;
}
.bamboo-footer-social img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(76,175,80,0.6));
}
.bamboo-footer-payment {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.bamboo-footer-payment img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.bamboo-footer-payment img:hover {
  opacity: 1;
}
.bamboo-footer-license {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(76,175,80,0.15);
  margin-top: 1.5rem;
}
.bamboo-footer-license img {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.8rem;
}
.bamboo-footer-license p {
  font-size: 0.85rem;
  color: rgba(255,179,0,0.6);
  line-height: 1.6;
}
.bamboo-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(76,175,80,0.1);
}
.bamboo-footer-bottom img {
  width: 40px;
  height: 40px;
}
.bamboo-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,179,0,0.5);
}

/* === APP下载页 === */
.bamboo-app-section {
  text-align: center;
  padding: 4rem 1.5rem;
}
.bamboo-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 2rem auto;
}
.bamboo-app-card {
  background: var(--bamboo-deep-blue);
  border: 2px solid rgba(76,175,80,0.3);
  box-shadow: var(--bamboo-glow-border);
  padding: 2rem;
  text-align: center;
}
.bamboo-app-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
}

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

/* 竹韵闪烁 */
@keyframes bamboo-flicker {
  0%, 100% { opacity: 1; }
  5% { opacity: 0.85; }
  10% { opacity: 1; }
  15% { opacity: 0.9; filter: hue-rotate(2deg); }
  20% { opacity: 1; filter: hue-rotate(0deg); }
  50% { opacity: 1; }
  52% { opacity: 0.8; }
  54% { opacity: 1; }
  80% { opacity: 1; }
  82% { opacity: 0.88; filter: hue-rotate(-2deg); }
  84% { opacity: 1; filter: hue-rotate(0deg); }
}

/* 全息投影显现 */
@keyframes bamboo-hologram-reveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: blur(4px) hue-rotate(10deg);
    clip-path: inset(0 0 100% 0);
  }
  30% {
    opacity: 0.5;
    filter: blur(2px) hue-rotate(5deg);
    clip-path: inset(0 0 60% 0);
  }
  60% {
    opacity: 0.8;
    filter: blur(1px) hue-rotate(0deg);
    clip-path: inset(0 0 20% 0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) hue-rotate(0deg);
    clip-path: inset(0 0 0 0);
  }
}
.bamboo-hologram {
  opacity: 0;
  transform: translateY(20px);
}
.bamboo-hologram.bamboo-visible {
  animation: bamboo-hologram-reveal 0.8s ease-out forwards;
}

/* 脉冲波纹 */
@keyframes bamboo-pulse-ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(76,175,80,0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(76,175,80,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76,175,80,0);
  }
}
.bamboo-btn-primary:hover,
.bamboo-card:hover {
  animation: bamboo-pulse-ripple 0.6s ease-out;
}

/* 扫描线效果 */
@keyframes bamboo-scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

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

@media (max-width: 1280px) {
  .bamboo-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .bamboo-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bamboo-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bamboo-quest-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .bamboo-menu-toggle {
    display: flex;
  }
  .bamboo-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26,26,26,0.98);
    flex-direction: column;
    border-bottom: 2px solid var(--bamboo-neon-magenta);
    padding: 1rem 0;
  }
  .bamboo-nav-links.bamboo-open {
    display: flex;
  }
  .bamboo-nav-links a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .bamboo-hero-content h1 {
    font-size: 2.2rem;
  }
  .bamboo-hero-subtitle {
    font-size: 1.1rem;
  }

  .bamboo-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bamboo-trial-section {
    grid-template-columns: 1fr;
  }
  .bamboo-video-list {
    grid-template-columns: 1fr;
  }
  .bamboo-footer-grid {
    grid-template-columns: 1fr;
  }
  .bamboo-content-grid {
    grid-template-columns: 1fr;
  }
  .bamboo-curfew-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bamboo-app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .bamboo-hero-content h1 {
    font-size: 1.8rem;
  }
  .bamboo-game-grid {
    grid-template-columns: 1fr;
  }
  .bamboo-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .bamboo-badge-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 375px) {
  .bamboo-section {
    padding: 2.5rem 1rem;
  }
}

/* === 工具类 === */
.bamboo-text-center { text-align: center; }
.bamboo-mt-2 { margin-top: 2rem; }
.bamboo-mb-2 { margin-bottom: 2rem; }
.bamboo-glow-text {
  text-shadow: var(--bamboo-glow-cyan);
}
.bamboo-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bamboo-neon-magenta), transparent);
  margin: 2rem 0;
  box-shadow: var(--bamboo-glow-magenta);
}
