/* =====================================================
   Theme 09: Red Black Esports - Components
   红黑电竞竞技风 - 组件样式与特效
   ===================================================== */

/* ============ 广告区电竞风格 ============ */
.hero-banner {
  position: relative;
}

/* 碳纤维纹理 */
.hero-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
  z-index: 0;
}

/* 红色斜切条 */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(255,0,51,0.05) 50%);
  z-index: 1;
  pointer-events: none;
}

/* 底部红色粗线 */
.hero-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF0033, #FF3366, #FF0033);
  z-index: 3;
}

/* ============ 标题电竞风 ============ */
.hero-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 0 rgba(255,0,51,0.3), 0 0 30px rgba(255,0,51,0.1);
}

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

.btn-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.4s ease;
}

.btn-register:hover::before {
  left: 100%;
}

.btn-register:hover {
  box-shadow: 0 0 20px rgba(255,0,51,0.4);
}

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

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

/* ============ 导航栏电竞 ============ */
.site-header {
  border-bottom: 3px solid #FF0033;
}

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

.nav-menu a::after {
  height: 2px;
  background: #FF0033;
}

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

/* ============ 卡片电竞风格 ============ */
.post-card {
  background: #111;
  border: 1px solid rgba(255,0,51,0.1);
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF0033, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.post-card:hover {
  border-color: rgba(255,0,51,0.2);
  box-shadow: 0 0 15px rgba(255,0,51,0.1);
}

/* ============ 页脚CTA电竞 ============ */
.footer-cta-banner {
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
  border-top: 2px solid rgba(255,0,51,0.3);
}

/* ============ 滚动提示 ============ */
.scroll-hint .scroll-arrow {
  background: rgba(255,0,51,0.1);
  border: 1px solid rgba(255,0,51,0.3);
}

/* ============ 侧边栏widget ============ */
.widget-title {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #FF0033;
}

/* ============ 文章内CTA ============ */
.in-content-cta {
  background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
  border: 1px solid rgba(255,0,51,0.15);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

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

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

/* ============ 404页面 ============ */
.error-404 .page-title {
  text-shadow: 2px 2px 0 rgba(255,0,51,0.3);
}

/* ============ 响应式微调 ============ */
@media (max-width: 767px) {
  .hero-title {
    text-shadow: 1px 1px 0 rgba(255,0,51,0.3);
  }
  
  .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(255,0,51,0.12);
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.06));
}

/* 装饰层光晕 */
.hero-casino-decor::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 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(255,0,51,0.12);
  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,255,255,0.06);
}

/* 内页底部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,255,255,0.06);
}

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


/* ============ Hero & Navigation — Racing Red Theme ============ */
/* Auto-generated by batch_theme_hero_css.php */

/* Navigation Glass */
.site-header {
  background: rgba(15,0,0,0.9);
  border-bottom: 1px solid rgba(255,0,0,0.12);
}

.brand-icon { color: #FF5252; }

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

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

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

.stat-number { color: #FF5252; }
.stat-icon { color: #FF5252; }

.btn-register { --btn-register-glow: rgba(255,0,0,0.35); }

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

/* Theme-specific Effects */
.hero-title { font-style: italic; text-shadow: 0 0 30px rgba(255,0,0,0.2); }
  .hero-visual-wrapper svg { animation: theme09race 4s ease-in-out infinite; }
  @keyframes theme09race { 0%,100%{transform:translateX(0) translateY(0)}25%{transform:translateX(5px) translateY(-8px)}75%{transform:translateX(-5px) translateY(-12px)} }
  .hero-badge { font-style: italic; font-weight: 700; }


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

/* Variant D Enhancement: Racing Red Diagonal */
.hero-banner[data-variant="D"] .diagonal-shape.shape-1 {
  background: linear-gradient(135deg, rgba(255,0,0,0.08) 0%, rgba(0,0,0,0.2) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 60%, 0 100%);
}
.hero-banner[data-variant="D"] .diagonal-shape.shape-2 {
  background: linear-gradient(135deg, rgba(255,0,0,0.05) 0%, rgba(255,255,255,0.02) 100%);
}
.hero-banner[data-variant="D"] .hero-title-underline {
  background: #FF1744;
  height: 3px;
}
.hero-banner[data-variant="D"] .hero-title { font-style: italic; }

