/* ===== Design System: Genshin Guide · Dark Gaming Theme ===== */
:root {
--bg-deep: #0a0a1a;
--bg-main: #0a0a1a;
--bg-card: #141428;
  --bg-card-hover: #1a1a35;
  --bg-elevated: #1e1e3a;
  --border: #2a2a4a;
  --border-glow: #3a3a6a;
  --text-primary: #e8e8f0;
  --text-secondary: #9494b8;
  --text-muted: #66668a;
  --accent: #00e676;
  --accent-dim: #00c853;
  --accent-glow: rgba(0,230,118,0.3);
  --gold: #ffd700;
  --gold-dim: #ffc107;
  --gold-glow: rgba(255,215,0,0.3);
  --red: #ff5252;
  --red-dim: #ff1744;
  --blue: #448aff;
  --purple: #b388ff;
  --orange: #ff9100;
  --cyan: #18ffff;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 24px var(--accent-glow);
  --transition: 0.2s ease;
  --font-mono: 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(0,230,118,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(68,138,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(179,136,255,0.04) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,26,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 1.3rem; font-weight: 800; color: var(--accent);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--text-primary); }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--accent); }

/* Lang Toggle */
.lang-toggle-group { display: flex; gap: 0; margin-left: 12px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.lang-toggle {
  background: transparent; border: none; color: var(--text-muted);
  padding: 4px 12px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover { color: var(--text-primary); background: var(--bg-card); }
.lang-toggle.active { background: var(--accent); color: #0a0a1a; }
.btn-pro {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #1a1a00 !important; padding: 8px 18px; border-radius: 20px;
  font-weight: 700 !important; font-size: 0.85rem;
}
.btn-pro:hover { box-shadow: 0 0 20px var(--gold-glow); }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px; text-align: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block; background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3);
  color: var(--accent); padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px; letter-spacing: -1px;
}
.hero h1 .highlight { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 620px;
  margin: 0 auto 32px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); font-size: 1rem;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all var(--transition); border: none;
}
.btn-primary {
  background: var(--accent); color: #0a0a1a;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px var(--accent-glow); }
.btn-secondary {
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #1a1a00; box-shadow: 0 0 20px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 32px var(--gold-glow); }

/* ===== Section ===== */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 8px;
}
.section-header p { color: var(--text-secondary); font-size: 1rem; }

/* ===== Cards ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-glow); background: var(--bg-card-hover); }
.card.glow:hover { box-shadow: var(--shadow-glow); border-color: var(--accent); }

/* ===== Guide Cards Grid ===== */
.guides-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-top: 24px;
}
.guide-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition);
  text-decoration: none; color: inherit; display: block;
}
.guide-card:hover { 
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,230,118,0.15);
}
.guide-card-img {
  height: 180px; background: linear-gradient(135deg, #1a1a3a, #0a0a2a);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.guide-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,230,118,0.15), transparent 70%);
}
.guide-card-body { padding: 18px; }
.guide-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.guide-card-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.guide-card-tags { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600;
}
.tag-element { background: rgba(68,138,255,0.15); color: var(--blue); }
.tag-weapon { background: rgba(255,145,0,0.15); color: var(--orange); }
.tag-role { background: rgba(179,136,255,0.15); color: var(--purple); }
.tag-version {
  background: rgba(0,230,118,0.1); color: var(--accent);
  font-family: var(--font-mono);
}

/* ===== Grade Badge ===== */
.grade {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; font-size: 0.9rem;
}
.grade-s { background: rgba(255,215,0,0.2); color: var(--gold); border: 2px solid var(--gold); }
.grade-a { background: rgba(0,230,118,0.2); color: var(--accent); border: 2px solid var(--accent); }
.grade-b { background: rgba(68,138,255,0.2); color: var(--blue); border: 2px solid var(--blue); }

/* ===== Calculator ===== */
.calc-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-inputs h4 { font-size: 1rem; margin-bottom: 16px; color: var(--text-secondary); }
.calc-group { margin-bottom: 16px; }
.calc-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-secondary); }
.calc-group select {
  width: 100%; padding: 10px 14px; background: var(--bg-deep);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.9rem;
  cursor: pointer; transition: var(--transition);
}
.calc-group select:focus { outline: none; border-color: var(--accent); }
.calc-result {
  background: var(--bg-deep); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--border);
}
.calc-result h4 { color: var(--accent); font-size: 0.9rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.calc-stat { margin-bottom: 12px; }
.calc-stat .label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 3px; }
.calc-stat .value { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.calc-stat .bar {
  flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.calc-stat .bar-fill { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.bar-fill-s { background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.bar-fill-a { background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }
.bar-fill-b { background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  transition: all var(--transition); position: relative;
}
.pricing-card.pro {
  border-color: var(--gold); 
  box-shadow: 0 0 32px var(--gold-glow);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #1a1a00; padding: 4px 16px; border-radius: 12px;
  font-size: 0.8rem; font-weight: 700;
}
.pricing-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 800; margin: 16px 0; }
.pricing-price small { font-size: 1rem; color: var(--text-muted); }
.pricing-price .free { color: var(--accent); }
.pricing-price .pro-price { color: var(--gold); }
.pricing-features { text-align: left; margin: 24px 0; }
.pricing-features li {
  list-style: none; padding: 8px 0; font-size: 0.9rem;
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.pricing-features li.no::before { content: '✗'; color: var(--text-muted); }

/* ===== Email Subscribe ===== */
.subscribe {
  background: linear-gradient(135deg, rgba(0,230,118,0.08), rgba(68,138,255,0.08));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; text-align: center; margin-top: 40px;
}
.subscribe h3 { font-size: 1.3rem; margin-bottom: 8px; }
.subscribe p { color: var(--text-secondary); margin-bottom: 20px; }
.subscribe-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; padding: 12px 16px; background: var(--bg-deep);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.95rem;
}
.subscribe-form input:focus { outline: none; border-color: var(--accent); }
.subscribe-form button { white-space: nowrap; }

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex; justify-content: center; gap: 48px; padding: 40px 0;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== Character Showcase ===== */
.character-showcase {
  display: flex; align-items: center; gap: 40px;
  max-width: 900px; margin: 40px auto 0; padding: 48px 48px 48px 32px;
  border-radius: var(--radius-lg);
  position: relative; z-index: 1; overflow: hidden;
}
.character-showcase::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 25% 50%, var(--cs-glow, rgba(179,136,255,0.12)) 0%, transparent 70%);
  pointer-events: none;
}

.char-portrait {
  flex: 0 0 260px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.char-portrait img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 8px 24px var(--cs-glow, rgba(179,136,255,0.3)));
  transition: filter 0.3s;
}
.char-portrait .char-portrait-placeholder {
  width: 200px; height: 280px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  background: linear-gradient(180deg, var(--cs-glow, rgba(179,136,255,0.1)), transparent);
  border: 2px dashed var(--cs-border, rgba(179,136,255,0.2));
}

.char-info { flex: 1; position: relative; z-index: 1; min-width: 0; }
.char-info .version-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.25);
  color: var(--accent); padding: 5px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600; font-family: var(--font-mono);
  margin-bottom: 16px;
}
.char-info .char-name {
  font-size: 2.8rem; font-weight: 800; line-height: 1.1;
  margin: 0 0 4px; letter-spacing: -0.5px;
}
.char-info .char-name span { color: var(--accent); }
.char-info .char-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 8px;
}
.char-info .char-meta .elem-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; padding: 2px 10px; border-radius: 12px;
  font-size: 0.85rem;
}
.char-info .char-meta .divider { color: var(--border); }
.char-info .char-role {
  font-size: 1rem; color: var(--text-muted); margin: 0;
  font-style: italic;
}

/* Element variants */
.character-showcase.electro {
  background: linear-gradient(135deg, rgba(179,136,255,0.08), rgba(179,136,255,0.02) 60%, transparent);
  border: 1px solid rgba(179,136,255,0.15);
  --cs-glow: rgba(179,136,255,0.25);
  --cs-border: rgba(179,136,255,0.25);
}
.character-showcase.electro .elem-tag { background: rgba(179,136,255,0.15); color: #c59dff; }
.character-showcase.electro .char-name { color: #c59dff; }

.character-showcase.pyro {
  background: linear-gradient(135deg, rgba(255,107,107,0.08), rgba(255,107,107,0.02) 60%, transparent);
  border: 1px solid rgba(255,107,107,0.15);
  --cs-glow: rgba(255,107,107,0.25);
  --cs-border: rgba(255,107,107,0.25);
}
.character-showcase.pyro .elem-tag { background: rgba(255,107,107,0.15); color: #ff6b6b; }
.character-showcase.pyro .char-name { color: #ff6b6b; }

.character-showcase.hydro {
  background: linear-gradient(135deg, rgba(107,163,255,0.08), rgba(107,163,255,0.02) 60%, transparent);
  border: 1px solid rgba(107,163,255,0.15);
  --cs-glow: rgba(107,163,255,0.25);
  --cs-border: rgba(107,163,255,0.25);
}
.character-showcase.hydro .elem-tag { background: rgba(107,163,255,0.15); color: #6ba3ff; }
.character-showcase.hydro .char-name { color: #6ba3ff; }

.character-showcase.dendro {
  background: linear-gradient(135deg, rgba(107,224,133,0.08), rgba(107,224,133,0.02) 60%, transparent);
  border: 1px solid rgba(107,224,133,0.15);
  --cs-glow: rgba(107,224,133,0.25);
  --cs-border: rgba(107,224,133,0.25);
}
.character-showcase.dendro .elem-tag { background: rgba(107,224,133,0.15); color: #6be085; }
.character-showcase.dendro .char-name { color: #6be085; }

.character-showcase.anemo {
  background: linear-gradient(135deg, rgba(107,224,200,0.08), rgba(107,224,200,0.02) 60%, transparent);
  border: 1px solid rgba(107,224,200,0.15);
  --cs-glow: rgba(107,224,200,0.25);
  --cs-border: rgba(107,224,200,0.25);
}
.character-showcase.anemo .elem-tag { background: rgba(107,224,200,0.15); color: #6be0c8; }
.character-showcase.anemo .char-name { color: #6be0c8; }

.character-showcase.geo {
  background: linear-gradient(135deg, rgba(255,183,77,0.08), rgba(255,183,77,0.02) 60%, transparent);
  border: 1px solid rgba(255,183,77,0.15);
  --cs-glow: rgba(255,183,77,0.25);
  --cs-border: rgba(255,183,77,0.25);
}
.character-showcase.geo .elem-tag { background: rgba(255,183,77,0.15); color: #ffb74d; }
.character-showcase.geo .char-name { color: #ffb74d; }

.character-showcase.cryo {
  background: linear-gradient(135deg, rgba(107,224,240,0.08), rgba(107,224,240,0.02) 60%, transparent);
  border: 1px solid rgba(107,224,240,0.15);
  --cs-glow: rgba(107,224,240,0.25);
  --cs-border: rgba(107,224,240,0.25);
}
.character-showcase.cryo .elem-tag { background: rgba(107,224,240,0.15); color: #6be0f0; }
.character-showcase.cryo .char-name { color: #6be0f0; }

/* Keep old article-header for backward compat, but mark as legacy */
/* ===== Article / Guide Detail ===== */
.article-header-legacy {
  padding: 60px 0 40px; text-align: center; position: relative; z-index: 1;
}
.article-header-legacy .version-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3);
  color: var(--accent); padding: 6px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; font-family: var(--font-mono);
  margin-bottom: 16px;
}
.article-header-legacy h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 8px; }
.article-header-legacy .meta { color: var(--text-muted); font-size: 0.9rem; }
.article-body { max-width: 800px; margin: 0 auto; padding: 0 24px 60px; position: relative; z-index: 1; }
.article-body h2 {
  font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
  color: var(--accent);
}
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 24px 0 12px; }
.article-body p { margin: 12px 0; color: var(--text-secondary); line-height: 1.8; }
.article-body ul { padding-left: 20px; margin: 12px 0; }
.article-body li { color: var(--text-secondary); margin: 6px 0; }

/* ===== Weapon Table ===== */
.weapon-table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 0.9rem;
}
.weapon-table th {
  background: var(--bg-elevated); text-align: left; padding: 10px 14px;
  font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase;
  border-bottom: 2px solid var(--border);
}
.weapon-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.weapon-table tr:hover td { background: rgba(0,230,118,0.03); }
.weapon-table .rank {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
}
.rank-1 { background: rgba(255,215,0,0.2); color: var(--gold); }
.rank-2 { background: rgba(192,192,192,0.2); color: #c0c0c0; }
.rank-3 { background: rgba(205,127,50,0.2); color: #cd7f32; }

/* ===== Pro Feature Lock ===== */
.pro-lock {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,215,0,0.02));
  border: 1px dashed rgba(255,215,0,0.4); border-radius: var(--radius);
  padding: 20px; text-align: center; margin: 20px 0;
}
.pro-lock .icon { font-size: 2rem; margin-bottom: 8px; }
.pro-lock p { color: var(--text-secondary); margin-bottom: 12px; font-size: 0.9rem; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border); padding: 40px 24px;
  text-align: center; position: relative; z-index: 1;
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ===== TL;DR Quick Answer Box ===== */
.tldr-box{
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,255,136,0.02));
  border:1px solid var(--accent);
  border-radius:var(--radius);
  padding:20px 24px;
  margin-bottom:28px;
  animation: tldrFade .4s ease;
}
@keyframes tldrFade{ from{opacity:0;transform:translateY(-8px);} to{opacity:1;transform:translateY(0);} }
.tldr-title{
  font-weight:700; font-size:0.9rem; color:var(--accent);
  margin-bottom:14px; letter-spacing:0.02em;
}
.tldr-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
.tldr-item{ background:var(--bg-main); border-radius:var(--radius-sm); padding:10px 14px; }
.tldr-label{ font-size:0.78rem; color:var(--text-muted); margin-bottom:4px; }
.tldr-value{ font-size:0.88rem; font-weight:600; color:var(--text-primary); }
.tldr-muted { font-size:0.75rem; color:var(--text-muted); }

/* Element-specific h2 in articles */
.article-body h2.electro { color: #c59dff; }
.article-body h2.pyro    { color: #ff6b6b; }
.article-body h2.hydro   { color: #6ba3ff; }
.article-body h2.dendro  { color: #6be085; }
.article-body h2.anemo   { color: #6be0c8; }
.article-body h2.geo     { color: #ffb74d; }
.article-body h2.cryo    { color: #6be0f0; }


.meta { color: var(--text-muted); font-size: 0.9rem; }
.meta .grade { vertical-align: middle; }

.tldr-box.electro { border-color: rgba(179,136,255,0.4); }
.tldr-box.pyro    { border-color: rgba(255,107,107,0.4); }
.tldr-box.hydro   { border-color: rgba(107,163,255,0.4); }
.tldr-box.dendro  { border-color: rgba(107,224,133,0.4); }
.tldr-box.anemo   { border-color: rgba(107,224,200,0.4); }
.tldr-box.geo     { border-color: rgba(255,183,77,0.4); }
.tldr-box.cryo    { border-color: rgba(107,224,240,0.4); }

/* Related Guides at bottom of article */
.related-guides{
  margin-top:48px; padding-top:32px;
  border-top:1px solid var(--border);
}
.related-guides h3{ font-size:1.1rem; margin-bottom:16px; color:var(--text-primary); }
.related-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
}

/* Pro Deep Dive Teaser */
.pro-teaser{
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(255,215,0,0.01));
  border:1px solid var(--gold);
  border-radius:var(--radius);
  padding:24px;
  margin:32px 0;
}
.pro-teaser-header{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.pro-teaser-header .icon{ font-size:1.5rem; }
.pro-teaser-header h3{ margin:0; color:var(--gold); font-size:1rem; }
.pro-teaser pre{
  background:var(--bg-main); border-radius:var(--radius-sm);
  padding:16px; font-size:0.82rem; line-height:1.7;
  color:var(--text-secondary); overflow-x:auto;
  border:1px solid var(--border);
}
.pro-teaser pre .highlight-line{ color:var(--gold); font-weight:600; }
.pro-teaser .teaser-cta{
  margin-top:16px; display:flex; align-items:center; gap:16px; flex-wrap:wrap;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; font-size: 0.85rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-secondary); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.8rem; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.8rem; }
  .stats-bar { gap: 24px; }
  .article-header-legacy h1 { font-size: 1.8rem; }
  .character-showcase { flex-direction: column; padding: 32px 24px; gap: 20px; margin-top: 20px; }
  .character-showcase::before { background: radial-gradient(ellipse at 50% 20%, var(--cs-glow, rgba(179,136,255,0.12)) 0%, transparent 60%); }
  .char-portrait { flex: 0 0 auto; }
  .char-portrait img { max-width: 200px; }
  .char-portrait .char-portrait-placeholder { width: 140px; height: 200px; font-size: 3.5rem; }
  .char-info { text-align: center; }
  .char-info .char-name { font-size: 2rem; }
  .char-info .char-meta { justify-content: center; }
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.5s ease forwards; }

/* ===== Native Ads (restrained, dark-theme integrated) ===== */
.ad-native {
  max-width: 780px; margin: 40px auto; padding: 0 24px;
  position: relative; z-index: 1;
}
.ad-label {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 8px; text-align: center;
}
.ad-unit {
  background: linear-gradient(135deg, rgba(68,138,255,0.04), rgba(179,136,255,0.04));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  transition: border-color var(--transition);
  cursor: pointer;
}
.ad-unit:hover { border-color: var(--border-glow); }
.ad-unit .ad-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--bg-card); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.ad-unit .ad-text { flex: 1; }
.ad-unit .ad-headline { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.ad-unit .ad-desc { font-size: 0.78rem; color: var(--text-muted); }
.ad-unit .ad-cta {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  white-space: nowrap; flex-shrink: 0;
}
.ad-inline {
  max-width: 780px; margin: 36px auto; padding: 0 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding-top: 20px; padding-bottom: 20px;
}
/* Specific: ad inside article body */
.article-body .ad-native { margin: 36px -24px; max-width: 100%; }

/* ===== Pro Demo on Calculator Page ===== */
.pro-demo-section {
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(255,215,0,0.01));
  border: 1px solid var(--gold); border-radius: var(--radius-lg);
  padding: 32px; margin-top: 32px;
}
.pro-demo-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pro-demo-header h3 { color: var(--gold); font-size: 1.1rem; margin: 0; }
.pro-demo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.pro-demo-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 16px; border: 1px solid var(--border);
}
.pro-demo-card .char-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; color: var(--text-primary); }
.pro-demo-card .dmg-line {
  font-size: 0.82rem; font-family: var(--font-mono);
  padding: 4px 0; border-bottom: 1px solid rgba(42,42,74,0.5);
  display: flex; justify-content: space-between;
}
.pro-demo-card .dmg-line .label { color: var(--text-muted); }
.pro-demo-card .dmg-line .value { color: var(--text-primary); font-weight: 600; }
.pro-demo-card .dmg-line .value.locked { color: var(--text-muted); filter: blur(4px); user-select: none; }
.pro-demo-cta { text-align: center; }
.pro-demo-cta p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 12px; }

/* ===== Pricing Value Examples ===== */
.value-examples {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin: 32px 0;
}
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.value-card .scenario { font-size: 0.8rem; color: var(--accent); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.value-card .question { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.value-card .answer { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }
.value-card .answer .gold { color: var(--gold); font-weight: 600; }

/* ===== Information Hierarchy Helpers ===== */
.text-compact { line-height: 1.6; }
.section-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 40px 0;
}
.scannable-list { list-style: none; padding-left: 0; }
.scannable-list li {
  padding: 10px 0; border-bottom: 1px solid rgba(42,42,74,0.4);
  display: flex; align-items: flex-start; gap: 10px;
}
.scannable-list li:last-child { border-bottom: none; }
.scannable-list .bullet {
  color: var(--accent); font-weight: 700; flex-shrink: 0;
  margin-top: 1px;
}
.emphasis-box {
  background: rgba(0,230,118,0.06); border-left: 3px solid var(--accent);
  padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0; font-size: 0.9rem; color: var(--text-primary);
}
.emphasis-box.warn {
  background: rgba(255,82,82,0.06); border-left-color: var(--red);
  color: var(--text-secondary);
}

/* ===== Element Colors ===== */
.electro { color: #b388ff; }
.pyro { color: #ff5252; }
.hydro { color: #448aff; }
.cryo { color: #18ffff; }
.anemo { color: #69f0ae; }
.geo { color: #ff9100; }
.dendro { color: #00e676; }

/* ===== Element Visual System — Real Genshin Aesthetic ===== */

/* Element gradient backgrounds for character cards */
.guide-card-img.electro { background: radial-gradient(ellipse at 30% 30%, #4a2a7a 0%, #1a0a3a 55%, #0a0a1a 100%); }
.guide-card-img.pyro    { background: radial-gradient(ellipse at 30% 30%, #7a2a1a 0%, #3a0a0a 55%, #0a0a1a 100%); }
.guide-card-img.hydro   { background: radial-gradient(ellipse at 30% 30%, #2a4a7a 0%, #0a1a3a 55%, #0a0a1a 100%); }
.guide-card-img.dendro  { background: radial-gradient(ellipse at 30% 30%, #2a6a3a 0%, #0a2a1a 55%, #0a0a1a 100%); }
.guide-card-img.anemo   { background: radial-gradient(ellipse at 30% 30%, #2a5a5a 0%, #0a2a2a 55%, #0a0a1a 100%); }
.guide-card-img.geo     { background: radial-gradient(ellipse at 30% 30%, #6a4a1a 0%, #2a1a0a 55%, #0a0a1a 100%); }
.guide-card-img.cryo    { background: radial-gradient(ellipse at 30% 30%, #3a5a7a 0%, #0a1a2a 55%, #0a0a1a 100%); }

/* Stellar particles overlay for card images */
.guide-card-img::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 15% 60%, rgba(255,255,255,0.35), transparent);
}

/* Element icon inside card — Genshin Vision-style */
.elem-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; position: relative; z-index: 1;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  border: 1.5px solid;
  transition: all 0.3s ease;
}
.elem-icon.electro { color: #c59dff; border-color: rgba(179,136,255,0.4); box-shadow: 0 0 16px rgba(179,136,255,0.25); }
.elem-icon.pyro    { color: #ff6b6b; border-color: rgba(255,82,82,0.4); box-shadow: 0 0 16px rgba(255,82,82,0.25); }
.elem-icon.hydro   { color: #6ba3ff; border-color: rgba(68,138,255,0.4); box-shadow: 0 0 16px rgba(68,138,255,0.25); }
.elem-icon.dendro  { color: #6be085; border-color: rgba(105,240,174,0.4); box-shadow: 0 0 16px rgba(105,240,174,0.2); }
.elem-icon.anemo   { color: #6be0c8; border-color: rgba(77,182,172,0.4); box-shadow: 0 0 16px rgba(77,182,172,0.25); }
.elem-icon.geo     { color: #ffb74d; border-color: rgba(255,145,0,0.4); box-shadow: 0 0 16px rgba(255,145,0,0.25); }
.elem-icon.cryo    { color: #6be0f0; border-color: rgba(24,255,255,0.4); box-shadow: 0 0 16px rgba(24,255,255,0.2); }

.guide-card:hover .elem-icon { transform: scale(1.08); }

/* Element-themed border glow on hover */
.guide-card.electro:hover { border-color: rgba(179,136,255,0.5); box-shadow: 0 8px 32px rgba(179,136,255,0.12); }
.guide-card.pyro:hover    { border-color: rgba(255,82,82,0.5); box-shadow: 0 8px 32px rgba(255,82,82,0.12); }
.guide-card.hydro:hover   { border-color: rgba(68,138,255,0.5); box-shadow: 0 8px 32px rgba(68,138,255,0.12); }
.guide-card.dendro:hover  { border-color: rgba(105,240,174,0.5); box-shadow: 0 8px 32px rgba(105,240,174,0.1); }
.guide-card.anemo:hover   { border-color: rgba(77,182,172,0.5); box-shadow: 0 8px 32px rgba(77,182,172,0.12); }
.guide-card.geo:hover     { border-color: rgba(255,145,0,0.5); box-shadow: 0 8px 32px rgba(255,145,0,0.12); }
.guide-card.cryo:hover    { border-color: rgba(24,255,255,0.5); box-shadow: 0 8px 32px rgba(24,255,255,0.1); }

/* Element tag colors — matching actual in-game element colors */
.tag-elem-electro { background: rgba(179,136,255,0.15); color: #c59dff; border: 1px solid rgba(179,136,255,0.2); }
.tag-elem-pyro    { background: rgba(255,82,82,0.15); color: #ff6b6b; border: 1px solid rgba(255,82,82,0.2); }
.tag-elem-hydro   { background: rgba(68,138,255,0.15); color: #6ba3ff; border: 1px solid rgba(68,138,255,0.2); }
.tag-elem-dendro  { background: rgba(105,240,174,0.12); color: #6be085; border: 1px solid rgba(105,240,174,0.2); }
.tag-elem-anemo   { background: rgba(77,182,172,0.15); color: #6be0c8; border: 1px solid rgba(77,182,172,0.2); }
.tag-elem-geo     { background: rgba(255,145,0,0.15); color: #ffb74d; border: 1px solid rgba(255,145,0,0.2); }
.tag-elem-cryo    { background: rgba(24,255,255,0.12); color: #6be0f0; border: 1px solid rgba(24,255,255,0.2); }

/* Element filter buttons — colored per element */
.filter-btn {
  background: var(--bg-card); color: var(--text-secondary);
  border: 1px solid var(--border); padding: 5px 14px;
  border-radius: 16px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn.active { background: var(--accent) !important; color: #0a0a1a !important; border-color: var(--accent) !important; }
.filter-btn.electro:hover, .filter-btn.electro.active { background: #b388ff !important; color: #1a0a3a !important; border-color: #b388ff !important; }
.filter-btn.pyro:hover, .filter-btn.pyro.active    { background: #ff5252 !important; color: #1a0a0a !important; border-color: #ff5252 !important; }
.filter-btn.hydro:hover, .filter-btn.hydro.active   { background: #448aff !important; color: #0a0a2a !important; border-color: #448aff !important; }
.filter-btn.dendro:hover, .filter-btn.dendro.active  { background: #69f0ae !important; color: #0a1a0a !important; border-color: #69f0ae !important; }
.filter-btn.anemo:hover, .filter-btn.anemo.active   { background: #4db6ac !important; color: #0a1a1a !important; border-color: #4db6ac !important; }
.filter-btn.geo:hover, .filter-btn.geo.active     { background: #ff9100 !important; color: #1a0a00 !important; border-color: #ff9100 !important; }
.filter-btn.cryo:hover, .filter-btn.cryo.active    { background: #18ffff !important; color: #0a1a2a !important; border-color: #18ffff !important; }

/* Element-accented article header */
.article-header-legacy.electro { border-bottom: 1px solid rgba(179,136,255,0.2); }
.article-header-legacy.electro .version-badge { background: rgba(179,136,255,0.1); border-color: rgba(179,136,255,0.3); color: #c59dff; }
.article-header-legacy.pyro { border-bottom: 1px solid rgba(255,82,82,0.2); }
.article-header-legacy.pyro .version-badge { background: rgba(255,82,82,0.1); border-color: rgba(255,82,82,0.3); color: #ff6b6b; }
.article-header-legacy.hydro { border-bottom: 1px solid rgba(68,138,255,0.2); }
.article-header-legacy.hydro .version-badge { background: rgba(68,138,255,0.1); border-color: rgba(68,138,255,0.3); color: #6ba3ff; }
.article-header-legacy.dendro { border-bottom: 1px solid rgba(105,240,174,0.2); }
.article-header-legacy.dendro .version-badge { background: rgba(105,240,174,0.1); border-color: rgba(105,240,174,0.3); color: #6be085; }
.article-header-legacy.anemo { border-bottom: 1px solid rgba(77,182,172,0.2); }
.article-header-legacy.anemo .version-badge { background: rgba(77,182,172,0.1); border-color: rgba(77,182,172,0.3); color: #6be0c8; }
.article-header-legacy.geo { border-bottom: 1px solid rgba(255,145,0,0.2); }
.article-header-legacy.geo .version-badge { background: rgba(255,145,0,0.1); border-color: rgba(255,145,0,0.3); color: #ffb74d; }
.article-header-legacy.cryo { border-bottom: 1px solid rgba(24,255,255,0.2); }
.article-header-legacy.cryo .version-badge { background: rgba(24,255,255,0.1); border-color: rgba(24,255,255,0.3); color: #6be0f0; }

/* Genshin-style section dividers — ornamental diamond */
.section-ornament {
  text-align: center; margin: 40px 0; color: var(--border); font-size: 0.8rem;
  letter-spacing: 4px; user-select: none;
}
.section-ornament::before,
.section-ornament::after {
  content: ' ◆ '; color: var(--border);
}

/* Vision rarity glow */
.constellation-stars {
  display: inline-flex; gap: 2px; margin-left: 6px; vertical-align: middle;
}
.constellation-stars .star {
  width: 8px; height: 8px; background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.constellation-stars .star.dim { background: var(--border); }

/* Element tab for Pro Demo — base + element-specific */
.demo-tab {
  background: var(--bg-card); color: var(--text-secondary);
  border: 1px solid var(--border); padding: 8px 16px;
  border-radius: 20px; font-weight: 600; cursor: pointer;
  font-size: 0.85rem; transition: all 0.2s;
}
.demo-tab.electro { background: rgba(179,136,255,0.15) !important; border-color: rgba(179,136,255,0.3) !important; }
.demo-tab.electro.active { background: #b388ff !important; color: #1a0a3a !important; border-color: #b388ff !important; }
.demo-tab.pyro { background: rgba(255,82,82,0.15) !important; border-color: rgba(255,82,82,0.3) !important; }
.demo-tab.pyro.active { background: #ff5252 !important; color: #1a0a0a !important; border-color: #ff5252 !important; }
.demo-tab.hydro { background: rgba(68,138,255,0.15) !important; border-color: rgba(68,138,255,0.3) !important; }
.demo-tab.hydro.active { background: #448aff !important; color: #0a0a2a !important; border-color: #448aff !important; }
.demo-tab.dendro { background: rgba(105,240,174,0.12) !important; border-color: rgba(105,240,174,0.25) !important; }
.demo-tab.dendro.active { background: #69f0ae !important; color: #0a1a0a !important; border-color: #69f0ae !important; }

/* Talents display — Genshin-style row */
.talent-row {
  display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap;
}
.talent-item {
  display: flex; flex-direction: column; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; min-width: 80px; text-align: center;
  transition: all var(--transition);
}
.talent-item .talent-icon {
  width: 40px; height: 40px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
  margin-bottom: 8px; font-weight: 700;
}
.talent-item .talent-label { font-size: 0.75rem; color: var(--text-muted); }
.talent-item .talent-priority { font-size: 0.8rem; font-weight: 700; margin-top: 4px; }
.talent-priority.p1 { color: var(--gold); }
.talent-priority.p2 { color: var(--accent); }
.talent-priority.p3 { color: var(--text-muted); }

/* Element-themed emphasis box */
.emphasis-box.electro { background: rgba(179,136,255,0.06); border-left-color: #b388ff; }
.emphasis-box.pyro { background: rgba(255,82,82,0.06); border-left-color: #ff5252; }
.emphasis-box.hydro { background: rgba(68,138,255,0.06); border-left-color: #448aff; }
.emphasis-box.dendro { background: rgba(105,240,174,0.05); border-left-color: #69f0ae; }
.emphasis-box.anemo { background: rgba(77,182,172,0.05); border-left-color: #4db6ac; }
.emphasis-box.geo   { background: rgba(255,145,0,0.05); border-left-color: #ff9100; }
.emphasis-box.cryo  { background: rgba(24,255,255,0.04); border-left-color: #18ffff; }

/* Demo tab element variants (anemo/geo/cryo) */
.demo-tab.anemo { background: rgba(77,182,172,0.15) !important; border-color: rgba(77,182,172,0.3) !important; }
.demo-tab.anemo.active { background: #4db6ac !important; color: #0a1a1a !important; border-color: #4db6ac !important; }
.demo-tab.geo   { background: rgba(255,145,0,0.15) !important; border-color: rgba(255,145,0,0.3) !important; }
.demo-tab.geo.active   { background: #ff9100 !important; color: #1a0a00 !important; border-color: #ff9100 !important; }
.demo-tab.cryo  { background: rgba(24,255,255,0.12) !important; border-color: rgba(24,255,255,0.25) !important; }
.demo-tab.cryo.active  { background: #18ffff !important; color: #0a1a2a !important; border-color: #18ffff !important; }

/* ===== Reusable Utility Classes ===== */
.guide-card-name {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.guide-card-name h3 { margin: 0; }

.nav-right {
  display: flex; align-items: center; gap: 16px;
}

.footer-links {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px;
}

.card-divider {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}

.text-muted-sm { font-size: 0.85rem; color: var(--text-muted); }
.text-secondary-sm { font-size: 0.8rem; color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

/* Grade badge display */
.grade {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; font-size: 0.9rem;
}

.pro-feature-card {
  background: var(--bg-card); padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pro-feature-card .feature-title { font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.pro-feature-card .feature-desc { font-size: 0.85rem; color: var(--text-secondary); }

.quick-answer-box {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 780px;
  margin: 0 auto;
}
.quick-answer-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #a855f7, #ef4444, #3b82f6, #22c55e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.quick-answer-input {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}

.trust-badges {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  margin-bottom: 18px; font-size: 0.8rem; color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; letter-spacing: -0.5px;
}

.pro-hint {
  text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted);
}

.calc-hint {
  color: var(--text-muted); text-align: center; padding: 40px 0;
}

.filter-bar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  max-width: 780px; margin: 0 auto;
}

.filter-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}

.demo-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}

.section-title {
  text-align: center; font-size: 1.6rem; margin-bottom: 30px;
}

.why-monthly-box {
  background: linear-gradient(135deg, rgba(255,215,0,0.04), rgba(0,230,118,0.02));
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius); padding: 16px 24px;
}

.annual-banner {
  background: var(--bg-card);
  border: 1px solid rgba(68,138,255,0.3);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}

.hero-compact { padding-bottom: 20px; }

/* ===== Footer ===== */
.enemy-icon {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px;
  background: var(--bg-deep); border-radius: 4px; font-size: 0.78rem;
  border: 1px solid var(--border);
}
