/* =====================================================
   Theme 18: Brown Vintage Leather - Components
   棕色复古皮革风 - 组件样式与特效
   ===================================================== */

/* ============ 广告区皮革质感 ============ */
.hero-banner {
  position: relative;
}

/* 皮革纹理 */
.hero-bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 6px);
  z-index: 0;
}

/* 黄铜铆钉装饰 */
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,179,0,0.15);
  z-index: 2;
  pointer-events: none;
}

/* ============ 标题复古风 ============ */
.hero-title {
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 0.01em;
}

/* ============ 按钮复古风格 ============ */
.btn-register {
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,179,0,0.25);
}

.btn-register:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(255,179,0,0.35);
}

/* ============ 导航栏复古 ============ */
.site-header {
  border-bottom: 1px solid rgba(255,179,0,0.1);
}

.site-branding a {
  letter-spacing: 0.02em;
}

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

.nav-menu a::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, #FFB300, transparent);
}

/* ============ 卡片复古风格 ============ */
.post-card {
  border: 1px solid rgba(62,39,35,0.08);
  position: relative;
}

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

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

.post-card:hover {
  border-color: rgba(62,39,35,0.15);
  box-shadow: 0 8px 24px rgba(62,39,35,0.1);
}

/* ============ 页脚CTA复古 ============ */
.footer-cta-banner {
  background: linear-gradient(135deg, #3E2723 0%, #4E342E 100%);
  border-top: 1px solid rgba(255,179,0,0.1);
}

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

/* ============ 侧边栏widget ============ */
.widget-title {
  border-bottom: 1px solid rgba(255,179,0,0.2);
  letter-spacing: 0.02em;
}

/* ============ 文章内CTA ============ */
.in-content-cta {
  background: linear-gradient(135deg, #4E342E 0%, #3E2723 100%);
  border: 1px solid rgba(255,179,0,0.1);
}

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

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFB300, #3E2723);
  border-radius: 4px;
}

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

/* === 赌场装饰增强 (复古棕) [casino-enhance] === */

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

/* 装饰层光晕 */
.hero-casino-decor::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255,179,0,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(62,39,35,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,179,0,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 — Vintage Theme ============ */
/* Auto-generated by batch_theme_hero_css.php */

/* Navigation Glass */
.site-header {
  background: rgba(255,248,240,0.92);
}

.brand-icon { color: #5D4037; }

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

.hero-stats-bar {
  background: rgba(121,85,72,0.03);
  border-color: rgba(121,85,72,0.08);
}

.btn-register { --btn-register-glow: rgba(121,85,72,0.2); }

.scroll-arrow {
  background: rgba(0,0,0,0.03);
  border-color: rgba(121,85,72,0.08);
}

/* Theme-specific Effects */
.hero-banner { background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); }
  .hero-visual-wrapper svg { animation: heroVisualFloat 12s ease-in-out infinite; filter: var(--hero-visual-filter) sepia(0.15); }
  .hero-badge { font-family: Georgia, serif; }


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

/* Variant C Enhancement: Vintage Card */
.hero-banner[data-variant="C"] .hero-card-main {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(121,85,72,0.12), 0 0 0 1px rgba(121,85,72,0.08);
}
.hero-banner[data-variant="C"] .hero-card-main:hover {
  box-shadow: 0 30px 80px rgba(121,85,72,0.18), 0 0 0 1px rgba(121,85,72,0.15);
}
.hero-banner[data-variant="C"] .hero-card-bg-svg {
  filter: sepia(0.15);
}

