/* =====================================================
   Theme 20: Colorful Rainbow Joy - Components
   多彩欢乐彩虹风 - 组件样式与特效
   ===================================================== */

/* ============ 彩带画布层 ============ */
.hero-confetti-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============ 广告区彩虹 ============ */
.hero-banner {
  position: relative;
}

/* 旋转彩虹边框 */
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3);
  z-index: 3;
  animation: rainbowShift 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes rainbowShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============ 标题彩虹风 ============ */
.hero-title {
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ============ 按钮彩虹风格 ============ */
.btn-register {
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.btn-register:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255,64,129,0.3);
}

.btn-download:hover {
  box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* ============ 导航栏彩虹 ============ */
.site-header {
  border-bottom: none;
}

.nav-menu a {
  font-weight: 600;
}

.nav-menu a::after {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FF4081, #FF9100, #00E5FF);
}

/* ============ 卡片彩虹风格 ============ */
.post-card {
  border: none;
  box-shadow: 0 2px 12px rgba(98,0,234,0.06);
  position: relative;
  overflow: hidden;
}

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

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

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(98,0,234,0.1);
}

/* ============ 页脚CTA彩虹 ============ */
.footer-cta-banner {
  background: linear-gradient(135deg, #6200EA 0%, #AA00FF 100%);
  position: relative;
}

.footer-cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF0000, #FF7F00, #FFFF00, #00FF00, #0000FF, #4B0082, #9400D3);
  animation: rainbowShift 3s linear infinite;
  background-size: 200% 100%;
}

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

/* ============ 侧边栏widget ============ */
.widget-title {
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #FF4081, #FF9100, #00E5FF) 1;
}

/* ============ 文章内CTA ============ */
.in-content-cta {
  background: linear-gradient(135deg, #6200EA 0%, #AA00FF 100%);
}

/* ============ 移动端FAB ============ */
.fab-register {
  box-shadow: 0 4px 15px rgba(255,64,129,0.3);
  animation: pulse 2s infinite;
}

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

/* ============ 自定义滚动条 ============ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F3E5F5;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF4081, #FF9100, #00E5FF);
  border-radius: 4px;
}

/* ============ 响应式微调 ============ */
@media (max-width: 767px) {
  .hero-title {
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }
}

/* === 赌场装饰增强 (梦幻紫) [casino-enhance] === */

/* SVG装饰可见度提升 */
.hero-casino-decor svg {
  color: rgba(98,0,234,0.10);
  opacity: 0.5;
  filter: drop-shadow(0 0 15px rgba(255,64,129,0.08));
}

/* 装饰层光晕 */
.hero-casino-decor::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255,64,129,0.08) 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: 1.8rem;
  letter-spacing: 1.2rem;
  color: rgba(98,0,234,0.10);
  opacity: 0.25;
  pointer-events: none;
  word-spacing: 1.5rem;
}

/* 页脚三栏增强 (暗色页脚) */
.footer-nav-section {
  background: var(--color-primary);
}

.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.08) 100%);
  border: 1px solid rgba(255,64,129,0.08);
}

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

.page-bottom-cta a {
  color: #fff;
}

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

/* FAQ手风琴 */
.page-body details {
  border-left: 3px solid var(--color-secondary);
}

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


/* ============ Hero & Navigation — Dream Magic Theme ============ */
/* Auto-generated by batch_theme_hero_css.php */

/* Navigation Glass */
.site-header {
  background: rgba(15,5,20,0.9);
  border-bottom: 1px solid rgba(186,104,200,0.1);
}

.brand-icon { color: #CE93D8; }

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

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

.hero-stats-bar {
  background: rgba(186,104,200,0.04);
  border-color: rgba(186,104,200,0.1);
}

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

.btn-register { --btn-register-glow: rgba(186,104,200,0.35); }

.scroll-arrow {
  background: rgba(255,255,255,0.05);
  border-color: rgba(186,104,200,0.1);
}

/* Theme-specific Effects */
.hero-title { animation: theme20shimmer 6s linear infinite; background-size: 300% 300%; }
  @keyframes theme20shimmer { 0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%} }
  .hero-visual-wrapper::before { background: radial-gradient(circle, rgba(186,104,200,0.1) 0%, rgba(255,128,171,0.05) 50%, transparent 70%); }
  .btn-register { --btn-register-glow: rgba(186,104,200,0.4); }
  .btn-register:hover { animation: theme20sparkle 0.6s ease; }
  @keyframes theme20sparkle { 0%,100%{filter:brightness(1)}50%{filter:brightness(1.3)} }


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

/* Variant E Enhancement: Dream Magic Minimal */
.hero-banner[data-variant="E"] { background: linear-gradient(180deg, #15001F 0%, #2E003E 50%, #1A002B 100%); }
.hero-banner[data-variant="E"]::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(186,104,200,0.06) 0%, transparent 60%);
  z-index: 1;
}
.hero-banner[data-variant="E"] .hero-title-massive {
  background: linear-gradient(135deg, #CE93D8 0%, #F48FB1 50%, #80DEEA 100%) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: theme20shimmer 10s linear infinite !important;
}
.site-header[data-nav-style="minimal"] { background: rgba(21,0,31,0.5); }
.site-header[data-nav-style="minimal"] .brand-name { color: #CE93D8; }
.site-header[data-nav-style="minimal"] .nav-link { color: #E1BEE7; }
.site-header[data-nav-style="minimal"] .hamburger-line { background: #CE93D8; }

