/* =====================================================
   Theme 02: Sports Arena Energy - Components
   体育活力竞技场风 - 组件样式与特效
   ===================================================== */

/* ============ 广告区运动条纹 ============ */
.hero-banner {
  position: relative;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,111,0,0.03) 20px,
    rgba(255,111,0,0.03) 40px
  );
  pointer-events: none;
}

/* 运动速度线 */
.hero-bg-layer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: speedLine 4s ease-in-out infinite;
}

@keyframes speedLine {
  0% { left: -50%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

/* ============ 标题动感 ============ */
.hero-title {
  text-transform: uppercase;
  letter-spacing: -0.03em;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* ============ 按钮竞技场风格 ============ */
.btn-register {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-register:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.1);
}

.btn-download {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-support {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* ============ 导航栏运动风 ============ */
.site-header {
  border-bottom: 2px solid rgba(255,111,0,0.3);
}

.nav-menu a {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.nav-menu a::after {
  height: 3px;
  border-radius: 2px;
}

.nav-btn {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ============ 卡片运动风格 ============ */
.post-card {
  border: none;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-card:hover::before {
  opacity: 1;
}

.post-card:hover {
  transform: translateY(-4px) rotate(0.5deg);
}

/* ============ 页脚CTA横幅竞技场 ============ */
.footer-cta-banner {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
  position: relative;
  overflow: hidden;
}

.footer-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255,111,0,0.05) 30px,
    rgba(255,111,0,0.05) 60px
  );
}

/* ============ 滚动提示 ============ */
.scroll-hint .scroll-arrow {
  background: rgba(255,111,0,0.2);
  border: 2px solid rgba(255,111,0,0.4);
}

/* ============ 侧边栏widget ============ */
.widget-title {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 3px solid var(--color-secondary);
}

/* ============ 文章内CTA ============ */
.in-content-cta {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* ============ 移动端FAB ============ */
.fab-register {
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,111,0,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255,111,0,0); }
}

/* ============ 404页面运动风 ============ */
.error-404 .page-title {
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

/* ============ 响应式微调 ============ */
@media (max-width: 767px) {
  .hero-title {
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
  }
  
  .btn-register,
  .btn-download,
  .btn-support {
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  }
}

/* === 赌场装饰增强 (翡翠绿) [casino-enhance] === */

/* SVG装饰可见度提升 */
.hero-casino-decor svg {
  color: rgba(27,94,32,0.15);
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(255,111,0,0.10));
}

/* 装饰层光晕 */
.hero-casino-decor::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,111,0,0.10) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 扑克牌花色散布 */
.hero-casino-decor::before {
  content: '♠ ♥ ♦ ♣ ♠ ♥ ♦ ♣';
  position: absolute;
  top: 15%;
  left: 5%;
  font-size: 2rem;
  letter-spacing: 1.5rem;
  color: rgba(27,94,32,0.15);
  opacity: 0.3;
  pointer-events: none;
  word-spacing: 2rem;
}

/* 页脚三栏增强 */
.footer-nav-title {
  color: #fff;
  border-bottom-color: var(--color-secondary);
}

.footer-nav-list a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-nav-list a:hover {
  color: #fff;
  padding-left: 4px;
}

/* 页脚CTA横幅 */
.footer-cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,111,0,0.10);
}

/* 内页底部CTA */
.page-bottom-cta {
  background: linear-gradient(135deg, var(--color-primary), rgba(0,0,0,0.3));
  border-left: 4px solid var(--color-secondary);
}

/* 面包屑 */
.page-breadcrumb a {
  color: var(--color-secondary);
}

/* FAQ手风琴 */
.page-body details {
  border-left: 3px solid rgba(255,111,0,0.10);
}

/* 联系卡片 */
.contact-card {
  border-top: 3px solid var(--color-secondary);
}


/* ============ Hero & Navigation — Emerald Arena Theme ============ */
/* Auto-generated by batch_theme_hero_css.php */

/* Navigation Glass */
.site-header {
  background: rgba(10,20,10,0.88);
  border-bottom: 1px solid rgba(0,200,83,0.12);
}

.brand-icon { color: #69F0AE; }

.nav-link:hover { color: #69F0AE; }
.nav-link::after { background: #69F0AE; }

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #69F0AE40, transparent);
  z-index: 3;
}

.hero-stats-bar {
  background: rgba(0,200,83,0.04);
  border-color: rgba(0,200,83,0.12);
}

.stat-number { color: #69F0AE; }
.stat-icon { color: #69F0AE; }

.btn-register { --btn-register-glow: rgba(0,200,83,0.3); }

.scroll-arrow {
  background: rgba(255,255,255,0.05);
  border-color: rgba(0,200,83,0.12);
}

/* Theme-specific Effects */
.hero-title { text-shadow: 0 0 30px rgba(0,200,83,0.15); }
  .hero-visual-wrapper::after { content:""; position:absolute; inset:-20%; border-radius:50%; border:1px solid rgba(0,200,83,0.1); animation: theme02ring 6s linear infinite; }
  @keyframes theme02ring { from{transform:rotate(0deg)}to{transform:rotate(360deg)} }
  .stat-number { color: #69F0AE; }


/* ============ Layout Variant B Enhancement ============ */
/* Auto-generated by batch_theme_layout_css.php */

/* Variant B Enhancement: Emerald Arena Cinematic */
.hero-banner[data-variant="B"] { background: linear-gradient(135deg, #0a1a0a 0%, #0d2818 50%, #0a1a0a 100%); }
.hero-banner[data-variant="B"]::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,200,83,0.08) 0%, transparent 60%);
  z-index: 1;
}
.hero-banner[data-variant="B"] .hero-stats-fullwidth .hero-stats-bar {
  background: linear-gradient(to top, rgba(0,200,83,0.1), rgba(0,0,0,0.5));
}
.site-header[data-nav-style="transparent"] .nav-link { color: #E0E0E0; }
.site-header[data-nav-style="transparent"] .brand-name { color: #FFFFFF; }
.site-header[data-nav-style="transparent"] .hamburger-line { background: #FFFFFF; }

