﻿/* ===== ATG古神巴風特 全站樣式 ===== */
:root {
  --gold: #E8A020;
  --gold2: #FFC820;
  --bg: #09000F;
  --bg2: #120018;
  --bg3: #06000A;
  --purple: #7B2FBE;
  --crimson: #C42060;
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --border: rgba(232,160,32,0.2);
  --radius: 8px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--white); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--gold); font-weight: 700; line-height: 1.35; }
h1 { font-size: clamp(24px, 4vw, 36px); }
h2 { font-size: clamp(20px, 3vw, 28px); }
h3 { font-size: clamp(17px, 2.5vw, 22px); }
p { margin-bottom: 1.2em; color: rgba(255,255,255,0.85); }
ul { list-style: none; }

/* ===== HEADER ===== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  height: 72px;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 16px;
}
.header-logo a { display: flex; align-items: center; }
.header-logo img { height: 52px; width: auto; max-width: 160px; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav .nav-item {
  color: #333; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 4px;
  white-space: nowrap; transition: color .2s;
  border-bottom: 2px solid transparent;
}
.header-nav .nav-item:hover, .header-nav .nav-item.active { color: #E8A020; border-bottom-color: #E8A020; }
.header-right { display: flex; align-items: center; gap: 8px; }
.btn-play {
  background: linear-gradient(135deg, #7B2FBE, #E8A020);
  color: #fff !important; font-size: 13px; font-weight: 700;
  padding: 8px 16px; border-radius: 4px;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: opacity .2s;
}
.btn-play:hover { opacity: .9; color: #fff !important; }
.btn-search {
  background: none; border: 1px solid #ddd; width: 34px; height: 34px;
  border-radius: 6px; cursor: pointer; color: #555;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.btn-search:hover { border-color: #E8A020; color: #E8A020; }
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: #333; border-radius: 2px; }

.header-search-overlay {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 2px solid #E8A020;
  padding: 14px 24px; z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.header-search-overlay.open { display: block; }
.header-search-overlay input {
  width: 100%; max-width: 600px; padding: 9px 14px;
  border: 1px solid #ddd; border-radius: 6px; font-size: 15px;
  outline: none; display: block; margin: 0 auto;
}

.mobile-nav-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 998; padding: 20px 24px;
  flex-direction: column; gap: 0; overflow-y: auto;
}
.mobile-nav-menu.open { display: flex; }
.mobile-nav-menu a {
  color: #1a1a1a; font-size: 16px; font-weight: 600;
  padding: 13px 0; border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}
.mobile-nav-menu a:hover { color: #E8A020; }

/* ===== LAYOUT ===== */
.page-wrap { padding-top: 72px; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(40px, 7vw, 72px) 0; }

/* ===== SECTION TAGS / TITLES ===== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,0.12); border: 1px solid rgba(232,160,32,0.4);
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin-bottom: 8px; }
.section-sub { font-size: 15px; color: var(--text-muted); margin-bottom: clamp(20px, 3.5vw, 40px); }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #5a1a9e, #E8A020, #FFC820, #E8A020);
  background-size: 200% 200%; animation: shimmer 3s ease infinite;
  color: #09000F !important; font-weight: 700; font-size: 16px;
  padding: 14px 32px; border-radius: var(--radius);
  transition: transform .2s; box-shadow: 0 4px 20px rgba(232,160,32,0.3);
}
.btn-primary:hover { transform: translateY(-2px); color: #09000F !important; }
@keyframes shimmer { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--gold); color: var(--gold) !important;
  font-weight: 700; font-size: 15px; padding: 12px 28px;
  border-radius: var(--radius); transition: all .2s;
}
.btn-outline:hover { background: var(--gold); color: #09000F !important; }

/* ===== CARDS ===== */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(232,160,32,0.4); }

/* ===== NEWS GRID ===== */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; text-decoration: none;
  transition: all .2s; display: block;
}
.news-card:hover { border-color: rgba(232,160,32,0.4); transform: translateY(-4px); }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-card-body { padding: 18px; }
.news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.news-tag {
  font-size: 11px; color: var(--gold); font-weight: 700; letter-spacing: 1px;
  background: rgba(232,160,32,0.1); padding: 3px 10px; border-radius: 20px;
}
.news-date { font-size: 12px; color: var(--text-muted); }
.news-title { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.5; }

/* ===== FEATURED GRID ===== */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.featured-card {
  border-radius: 14px; overflow: hidden; text-decoration: none;
  display: block; transition: all .2s; border: 1px solid var(--border);
}
.featured-card:hover { border-color: rgba(232,160,32,0.4); transform: translateY(-4px); }
.featured-card img { width: 100%; height: 220px; object-fit: cover; }
.featured-card-body { padding: 24px; background: rgba(255,255,255,0.04); }
.featured-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.featured-card h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.featured-card p { font-size: 13px; color: var(--text-muted); }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(232,160,32,.08), rgba(232,160,32,.03));
  border: 1px solid rgba(232,160,32,.5); border-radius: var(--radius);
  padding: 24px 28px; margin: 28px 0;
}
.highlight-box h3 { font-size: 17px; color: var(--gold); margin-bottom: 10px; }
.highlight-box p { font-size: 14px; margin: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(0,0,10,.97); border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.site-footer .footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.site-footer .footer-top {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-footer .footer-brand { flex: 0 0 220px; min-width: 160px; }
.site-footer .footer-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.site-footer .footer-col { flex: 1; min-width: 120px; }
.site-footer .footer-col-title {
  font-size: 11px; color: var(--gold); font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer .footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer .footer-col-links a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.site-footer .footer-col-links a:hover { color: var(--gold); }
.site-footer .footer-social-row { display: flex; gap: 10px; }
.site-footer .footer-social-row a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: all .2s;
}
.site-footer .footer-social-row a:hover { background: rgba(232,160,32,.15); border-color: var(--gold); color: var(--gold); }
.site-footer .footer-bottom {
  padding: 16px 0; display: flex; align-items: center;
}
.site-footer .footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }

/* ===== FLOAT CTA ===== */
.float-cta {
  position: fixed; bottom: 20px; right: 16px; z-index: 500;
  animation: floatBounce 2.2s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.5));
}
.float-cta img { width: clamp(80px,9vw,110px); border-radius: 50%; }
@keyframes floatBounce {
  0%,100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.07) rotate(2deg); }
}

/* ===== MOBILE BAR ===== */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
  background: #fff; border-top: 1px solid #eee;
  padding: 3px 8px; justify-content: space-around; align-items: center;
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center;
  font-size: 11px; color: #666; text-decoration: none; gap: 4px;
  min-height: 48px; justify-content: center; flex: 1;
}
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a.active { color: var(--gold); }

/* ===== PAGE HERO ===== */
.page-hero {
  min-height: 480px; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #09000F 0%, #120018 60%, #06000A 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,10,.35);
}
.page-hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: clamp(36px, 5vw, 60px) 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1; width: 100%; gap: clamp(24px, 3.5vw, 40px);
}
.page-hero-text { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,.15); border: 1px solid var(--gold);
  color: var(--gold); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(28px,5vw,52px); font-weight: 900; color: #fff; margin-bottom: 14px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.page-hero-image { flex: 0 0 auto; max-width: 46%; }
.page-hero-image img { max-height: 380px; width: 100%; object-fit: contain; filter: drop-shadow(0 20px 60px rgba(232,160,32,.2)); }

/* ===== ARTICLE STYLES ===== */
.art-hero { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 48px 24px 0; }
.art-hero-inner { max-width: 800px; margin: 0 auto; }
.art-cat {
  display: inline-block; background: rgba(232,160,32,.12);
  border: 1px solid rgba(232,160,32,.5); color: #FFC820;
  font-size: 11px; letter-spacing: 2px; font-weight: 700;
  padding: 4px 12px; border-radius: 2px; margin-bottom: 16px;
  text-decoration: none; text-transform: uppercase;
}
.art-hero h1 { font-size: clamp(22px,3.5vw,36px); font-weight: 900; color: #fff; margin-bottom: 20px; }
.art-hero h1 span { color: #FFC820; }
.art-meta { display: flex; gap: 20px; align-items: center; padding-bottom: 32px; flex-wrap: wrap; }
.art-meta-item { font-size: 13px; color: rgba(255,255,255,.45); }
.art-hero-img { margin-top: 32px; border-radius: 8px 8px 0 0; overflow: hidden; border: 1px solid var(--border); border-bottom: none; }
.art-hero-img img { width: 100%; display: block; max-height: 480px; object-fit: cover; }
.art-wrap { max-width: 800px; margin: 0 auto; padding: clamp(28px, 4vw, 40px) 24px clamp(48px, 7vw, 80px); }
.art-body h2 { font-size: clamp(17px,2.5vw,24px); font-weight: 700; color: #FFC820; margin: clamp(24px, 4vw, 40px) 0 14px; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.4; }
.art-body h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 28px 0 12px; }
.art-body p { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.9; margin-bottom: 18px; }
.art-body strong { color: #fff; font-weight: 700; }
.art-body ul { list-style: none; padding: 0; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.art-body ul li { font-size: 15px; color: rgba(255,255,255,.8); padding-left: 22px; position: relative; line-height: 1.8; }
.art-body ul li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 10px; top: 5px; }
.art-cta { text-align: center; background: linear-gradient(135deg,rgba(232,160,32,.08),rgba(232,160,32,.03)); border: 1px solid rgba(232,160,32,.5); border-radius: 8px; padding: 32px; margin: 40px 0; }
.art-cta p { color: rgba(255,255,255,.8); margin-bottom: 20px; font-size: 15px; }
.btn-gold { display: inline-block; background: linear-gradient(135deg,#5a1a9e,#E8A020,#FFC820,#E8A020); background-size: 200% 200%; animation: shimmer 3s ease infinite; color: #09000F !important; font-weight: 700; font-size: 15px; padding: 14px 36px; border-radius: 4px; text-decoration: none; box-shadow: 0 4px 24px rgba(232,160,32,.3); transition: transform .2s; }
.btn-gold:hover { transform: translateY(-2px); color: #09000F !important; }
.related { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.related h2 { font-size: 20px; color: #FFC820; margin-bottom: 20px; padding-left: 14px; border-left: 4px solid var(--gold); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.related-card { background: rgba(0,0,20,.6); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; transition: border-color .3s, transform .2s; }
.related-card:hover { border-color: rgba(232,160,32,.5); transform: translateY(-2px); }
.related-card img { width: 100%; height: 130px; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card h3 { font-size: 14px; font-weight: 700; color: var(--white); line-height: 1.5; }

/* ===== LEGAL PAGES ===== */
.legal-section { padding: 64px 0 80px; }
.legal-wrap { background: rgba(0,0,20,.7); border: 1px solid var(--border); border-radius: 16px; padding: 48px; max-width: 900px; margin: 0 auto; }
.legal-wrap h2 { font-size: 20px; color: var(--gold); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.82); margin-bottom: 14px; }
.legal-wrap ul { list-style: none; padding: 0; margin-bottom: 14px; }
.legal-wrap ul li { font-size: 14px; color: rgba(255,255,255,.75); padding: 4px 0 4px 20px; position: relative; line-height: 1.8; }
.legal-wrap ul li::before { content: '·'; position: absolute; left: 6px; color: var(--gold); font-size: 18px; line-height: 1.4; }
.legal-wrap .updated { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 28px; }
.legal-cta { background: rgba(232,160,32,.08); border: 1px solid rgba(232,160,32,.25); border-radius: 12px; padding: 32px; text-align: center; margin-top: 48px; }
.legal-cta p { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 20px; }

/* ===== HOME PAGE HERO ===== */
.home-hero {
  min-height: 640px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(123,47,190,.28), transparent 40%),
    radial-gradient(circle at 30% 70%, rgba(196,32,96,.15), transparent 35%),
    linear-gradient(135deg, #09000F 0%, #120018 58%, #06000A 100%);
  border-bottom: 1px solid var(--border);
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,0,15,.92), rgba(9,0,15,.55), rgba(9,0,15,.85));
}
.home-hero-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) 24px clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center; gap: clamp(28px, 4vw, 48px);
  position: relative; z-index: 1;
}
.home-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.home-hero h1 span { display: block; color: var(--gold); }
.home-hero p { max-width: 620px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.78); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-hero-media { position: relative; }
.home-hero-media img { width: 100%; border-radius: 8px; border: 1px solid rgba(232,160,32,.35); box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 60px rgba(123,47,190,.18); object-fit: cover; }

/* ===== STAT STRIP ===== */
.home-stats { padding: 0; background: rgba(0,0,10,.9); border-bottom: 1px solid var(--border); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 28px 24px; border-right: 1px solid rgba(232,160,32,.18); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; color: var(--gold); font-size: 34px; line-height: 1; margin-bottom: 8px; }
.stat-item span { color: rgba(255,255,255,.72); font-size: 14px; }

/* ===== INTRO SECTION ===== */
.intro-section { background: linear-gradient(180deg, var(--bg), #0A0016); }
.intro-grid { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 4vw, 48px); align-items: center; }
.intro-media img { width: 100%; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 18px 46px rgba(0,0,0,.4); }
.feature-list { display: grid; gap: 14px; margin: 26px 0 28px; }
.feature-list div { padding: 18px 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(232,160,32,.18); border-radius: 8px; }
.feature-list h3 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 14px; color: rgba(255,255,255,.68); }

/* ===== SIGNAL SECTION ===== */
.signal-section {
  background: linear-gradient(rgba(9,0,15,.88), rgba(9,0,15,.92)),
    url('images/baphomet-hero-bg.webp') center/cover no-repeat;
}
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.signal-card { padding: 24px; background: rgba(0,0,20,.72); border: 1px solid rgba(232,160,32,.28); border-radius: 8px; }
.signal-card span { display: inline-flex; color: #09000F; background: var(--gold); font-weight: 900; font-size: 12px; padding: 4px 9px; border-radius: 4px; margin-bottom: 18px; }
.signal-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.signal-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }

/* ===== NEWS SECTION BG ===== */
.news-section { background: #080010; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }

/* ===== GUIDE CARDS ===== */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card { padding: 24px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; }
.guide-card strong { display: inline-flex; color: #09000F; background: var(--gold); font-weight: 900; font-size: 12px; padding: 4px 9px; border-radius: 4px; margin-bottom: 18px; }
.guide-card h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.guide-card p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }

/* ===== ARCHIVE ===== */
.news-archive-hero { min-height: 360px; background: linear-gradient(rgba(9,0,15,.82), rgba(9,0,15,.92)), url('images/baphomet-hero-bg.webp') center/cover no-repeat; }
.archive-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.archive-side { position: sticky; top: 88px; padding: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; }
.archive-side h2 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.cat-filter-btn {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  background: none; border: 1px solid transparent; border-radius: 6px;
  color: rgba(255,255,255,.6); font-size: 14px; cursor: pointer;
  margin-bottom: 6px; transition: all .2s;
}
.cat-filter-btn:hover { color: var(--gold); border-color: rgba(232,160,32,.3); }
.cat-filter-btn.active { color: var(--gold); border-color: var(--gold); background: rgba(232,160,32,.08); font-weight: 700; }

/* ===== SYMBOL TABLE ===== */
.sym-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-top: 28px; }
.sym-card { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 8px; padding: 16px; text-align: center; }
.sym-card img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 10px; }
.sym-card strong { display: block; color: var(--gold); font-size: 13px; margin-bottom: 6px; }
.sym-card span { font-size: 12px; color: rgba(255,255,255,.6); }

/* ===== FAQ ===== */
.rsg-faq { background: var(--bg2); }
.rsg-faq details { border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; margin-bottom: 10px; }
.rsg-faq details[open] { border-color: rgba(232,160,32,.5); }
.rsg-faq summary { cursor: pointer; font-size: 15px; font-weight: 700; color: #fff; list-style: none; }
.rsg-faq summary::-webkit-details-marker { display: none; }
.rsg-faq details p { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.75); }

/* ===== BG SECTION ===== */
.rsg-bg-section {
  background: linear-gradient(135deg, rgba(123,47,190,.15), rgba(232,160,32,.05)),
    var(--bg2);
  padding: clamp(36px, 5.5vw, 64px) 0; text-align: center;
}
.rsg-bg-section h2 { margin-bottom: 16px; }
.rsg-bg-section p { max-width: 680px; margin: 0 auto; }

/* ===== TWO COL ===== */
.rsg-section.rsg-two-col { max-width: var(--max-w); margin: 0 auto; padding: clamp(40px, 7vw, 72px) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.rsg-section.rsg-two-col.reverse { direction: rtl; }
.rsg-section.rsg-two-col.reverse > * { direction: ltr; }
.rsg-copy { }
.rsg-copy h2 { margin-bottom: 16px; }
.rsg-image-frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.rsg-image-frame img { width: 100%; display: block; }
.rsg-pay-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 20px; }
.rsg-pay-grid.compact { grid-template-columns: repeat(4,1fr); }
.rsg-pay-grid div { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 6px; padding: 12px; text-align: center; }
.rsg-pay-grid span { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.rsg-pay-grid strong { font-size: 15px; color: var(--gold); }

/* ===== PERFORMANCE ===== */
.intro-section, .signal-section, .rsg-bg-section, .rsg-faq,
.news-section, .rsg-section, .news-archive-hero, .home-stats {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-media { max-width: 480px; margin: 0 auto; order: -1; }
  .rsg-section.rsg-two-col { grid-template-columns: 1fr; direction: ltr; }
  .rsg-section.rsg-two-col.reverse { direction: ltr; }
  .intro-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2,1fr); }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-side { position: static; }
}
@media (max-width: 900px) {
  .header-nav { display: none; }
  .nav-burger { display: flex; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .page-hero-inner { flex-direction: column; text-align: center; }
  .page-hero-image { max-width: 100%; order: -1; }
  .page-hero-image img { max-height: 240px; margin: 0 auto; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 60px; }
  .float-cta { bottom: 70px; }
  .legal-wrap { padding: 28px 20px; }
  .signal-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(232,160,32,.18); }
  .stat-item:last-child { border-bottom: none; }
  .rsg-pay-grid.compact { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .site-footer .footer-top { flex-direction: column; gap: 28px; text-align: center; }
  .site-footer .footer-brand { flex-basis: auto; }
  .site-footer .footer-brand img { margin-left: auto !important; margin-right: auto !important; }
  .site-footer .footer-social-row { justify-content: center; }
  .site-footer .footer-bottom { justify-content: center; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .sym-grid { grid-template-columns: repeat(2,1fr); }
}

/* Disable non-composited animations on mobile for better performance */
@media (max-width: 900px) {
  .btn-primary, .btn-gold, .btn-play { animation: none !important; background-position: 0% 50% !important; }
}