/* =============================================
   LoveCalculatorAI.in — style.css
   Romantic Premium Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:        #0d0610;
  --bg2:       #120914;
  --surface:   #1a0f1e;
  --surface2:  #221428;
  --border:    rgba(220,80,120,0.18);
  --accent:    #e8446a;
  --accent2:   #c4307a;
  --accent3:   #ff8fab;
  --text:      #f5e6ec;
  --text2:     #c8a8b8;
  --muted:     #7a5a6a;
  --gold:      #f4c56a;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius:    14px;
  --shadow:    0 8px 32px rgba(232,68,106,0.15);
  --glow:      0 0 40px rgba(232,68,106,0.2);
}

[data-theme="light"] {
  --bg:        #fff5f7;
  --bg2:       #ffeef2;
  --surface:   #ffffff;
  --surface2:  #fce8ef;
  --border:    rgba(220,80,120,0.2);
  --text:      #2d0a18;
  --text2:     #6b2d45;
  --muted:     #b07090;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Animated BG Hearts ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(232,68,106,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(196,48,122,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
p  { color: var(--text2); font-size: 0.95rem; line-height: 1.75; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); position: relative; z-index: 1; }

/* ──────────────────────────────────────
   HEADER
────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(13,6,16,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .site-header { background: rgba(255,245,247,0.9); }

.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.brand-name {
  font-family: var(--font-head); font-weight: 900;
  font-size: 1.1rem; color: var(--text);
}
.brand-name span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text2); font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s; text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 14px; }

/* Theme Toggle */
.theme-toggle { position: relative; width: 56px; height: 28px; cursor: pointer; flex-shrink: 0; }
.theme-toggle input { display: none; }
.toggle-track {
  width: 100%; height: 100%;
  background: var(--surface2); border-radius: 99px;
  display: flex; align-items: center; padding: 3px;
  transition: background 0.3s;
  border: 1px solid rgba(232,68,106,0.3);
}
.toggle-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(232,68,106,0.4);
}
[data-theme="light"] .toggle-thumb { transform: translateX(28px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 16px clamp(16px,4vw,40px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text2); font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ──────────────────────────────────────
   HERO
────────────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(48px,8vw,96px) 0 clamp(32px,5vw,60px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,68,106,0.12);
  border: 1px solid rgba(232,68,106,0.25);
  color: var(--accent3); font-size: 0.78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 99px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero p.hero-sub {
  font-size: 1rem; color: var(--text2);
  max-width: 520px; margin: 0 auto 32px;
}

/* Floating hearts */
.hearts-float {
  pointer-events: none;
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 0;
}
.heart-particle {
  position: absolute; bottom: -20px;
  animation: floatUp linear infinite;
  opacity: 0; font-size: 1rem;
}
@keyframes floatUp {
  0%   { bottom: -20px; opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { bottom: 100%; opacity: 0; }
}

/* ──────────────────────────────────────
   TOOL CARD
────────────────────────────────────── */
.tool-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Tab bar */
.tool-tabs {
  display: flex; overflow-x: auto;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0 8px;
  gap: 2px;
  scrollbar-width: none;
}
.tool-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: 0.82rem; font-weight: 600;
  padding: 14px 20px;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
}
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Tab panels */
.tab-panel { display: none; padding: clamp(20px,4vw,40px); }
.tab-panel.active { display: block; }

/* Input rows */
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 520px) { .input-row { grid-template-columns: 1fr; } }

.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label {
  font-size: 0.8rem; font-weight: 600; color: var(--text2);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.input-group input, .input-group select {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none; width: 100%;
}
.input-group input:focus, .input-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,68,106,0.15);
}
.input-group input::placeholder { color: var(--muted); }

/* Calculate button */
.btn-calculate {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border: none; border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  padding: 16px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,68,106,0.4);
}
.btn-calculate:active { transform: translateY(0); }

/* Ripple */
.btn-calculate::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-calculate:hover::after { opacity: 1; }

/* ──────────────────────────────────────
   LOADING ANIMATION
────────────────────────────────────── */
.loading-overlay {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px;
  padding: 40px; text-align: center;
}
.loading-overlay.active { display: flex; }
.heartbeat-anim {
  font-size: 3rem;
  animation: heartbeat 0.8s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25%       { transform: scale(1.3); }
  50%       { transform: scale(1); }
  75%       { transform: scale(1.2); }
}
.loading-text { color: var(--text2); font-size: 0.95rem; }
.loading-dots::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
}

/* Progress bar */
.progress-wrap { width: 200px; height: 4px; background: var(--surface2); border-radius: 99px; overflow: hidden; }
.progress-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent3));
  border-radius: 99px;
  transition: width 0.3s ease;
}

/* ──────────────────────────────────────
   RESULT SECTION
────────────────────────────────────── */
#result-section { display: none; }
#result-section.visible { display: block; }

.result-hero {
  text-align: center;
  padding: clamp(24px,4vw,40px) clamp(20px,4vw,40px) 0;
}

/* Couple display */
.couple-display {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.person-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.avatar-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  border: 3px solid var(--border);
  background: var(--surface2);
  transition: all 0.4s;
}
.avatar-wrap.boy { border-color: #5b9ef0; background: rgba(91,158,240,0.1); }
.avatar-wrap.girl { border-color: var(--accent3); background: rgba(232,68,106,0.1); }
.person-name {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--text);
}
.heart-connector { font-size: 2rem; animation: heartbeat 1s ease-in-out infinite; }

/* Score ring */
.score-ring-wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin: 24px 0;
}
.score-ring {
  position: relative; width: 160px; height: 160px;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring-bg   { fill: none; stroke: var(--surface2); stroke-width: 10; }
.score-ring-fill {
  fill: none; stroke: url(#ringGrad); stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1);
}
.score-number {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-pct {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 900;
  color: var(--text); line-height: 1;
}
.score-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; }

/* Score tag */
.score-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 18px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 700;
  border: 1px solid currentColor;
}
.tag-perfect { color: #f4c56a; border-color: rgba(244,197,106,0.35); background: rgba(244,197,106,0.1); }
.tag-high    { color: var(--accent3); border-color: rgba(255,143,171,0.35); background: rgba(255,143,171,0.1); }
.tag-good    { color: #6fcf97; border-color: rgba(111,207,151,0.35); background: rgba(111,207,151,0.1); }
.tag-medium  { color: #f2c94c; border-color: rgba(242,201,76,0.35); background: rgba(242,201,76,0.1); }
.tag-low     { color: #eb5757; border-color: rgba(235,87,87,0.35); background: rgba(235,87,87,0.1); }

/* AI message */
.ai-message-box {
  margin: 24px clamp(20px,4vw,40px) 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}
.ai-message-box::before {
  content: '✨ AI Analysis';
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase;
  display: block; margin-bottom: 10px;
}
.ai-message-text {
  color: var(--text); font-size: 0.92rem; line-height: 1.7;
  font-style: italic;
}
.ai-loading { color: var(--muted); font-size: 0.85rem; }

/* Celebrity comparison */
.celeb-bar {
  margin: 20px clamp(20px,4vw,40px) 0;
  background: rgba(244,197,106,0.06);
  border: 1px solid rgba(244,197,106,0.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem;
}
.celeb-bar .celeb-icon { font-size: 1.4rem; }
.celeb-bar strong { color: var(--gold); }

/* Numerology breakdown */
.numerology-breakdown {
  margin: 0 clamp(20px,4vw,40px);
  padding: 20px;
  background: var(--surface2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.numerology-breakdown h4 {
  font-size: 0.78rem; font-weight: 700; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.num-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.num-chip {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px; min-width: 38px;
  font-size: 0.72rem;
}
.num-chip .letter { color: var(--text2); font-weight: 600; }
.num-chip .value  { color: var(--accent); font-weight: 700; font-size: 0.82rem; }
.num-total { font-size: 0.82rem; color: var(--text2); margin-top: 4px; }
.num-total strong { color: var(--accent); }

/* Share section */
.share-section {
  margin: 24px clamp(20px,4vw,40px) clamp(20px,4vw,40px);
  padding: 20px;
  background: var(--surface2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.share-section h4 {
  font-size: 0.78rem; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer; text-decoration: none;
  transition: all 0.25s; background: var(--surface);
  color: var(--text);
}
.share-btn:hover { transform: translateY(-2px); text-decoration: none; }
.share-btn.fb    { border-color: rgba(24,119,242,0.4);  }
.share-btn.fb:hover  { background: rgba(24,119,242,0.15); color: #4d9aff; }
.share-btn.wa    { border-color: rgba(37,211,102,0.4); }
.share-btn.wa:hover  { background: rgba(37,211,102,0.15); color: #25d366; }
.share-btn.tw    { border-color: rgba(255,255,255,0.2); }
.share-btn.tw:hover  { background: rgba(255,255,255,0.08); color: #fff; }
.share-btn.tg    { border-color: rgba(34,158,217,0.4); }
.share-btn.tg:hover  { background: rgba(34,158,217,0.15); color: #229ed9; }
.share-btn.dl    { border-color: rgba(232,68,106,0.4); }
.share-btn.dl:hover  { background: rgba(232,68,106,0.15); color: var(--accent); }
.share-btn.cp    { border-color: rgba(111,207,151,0.4); }
.share-btn.cp:hover  { background: rgba(111,207,151,0.15); color: #6fcf97; }

/* Reset button */
.btn-reset {
  display: block; margin: 0 clamp(20px,4vw,40px) clamp(20px,4vw,40px);
  background: none; border: 1px solid var(--border);
  color: var(--text2); font-family: var(--font-body);
  font-size: 0.85rem; padding: 10px;
  border-radius: 10px; cursor: pointer; width: calc(100% - clamp(40px,8vw,80px));
  transition: all 0.2s;
}
.btn-reset:hover { border-color: var(--accent); color: var(--accent); }

/* FLAMES result */
.flames-result-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: 10px; margin: 16px 0;
}
.flames-cell {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.7rem; color: var(--muted);
  transition: all 0.3s;
}
.flames-cell.winner {
  background: rgba(232,68,106,0.15);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}
.flames-cell .f-letter { font-size: 1.2rem; font-weight: 900; }
@media (max-width: 420px) { .flames-grid { grid-template-columns: repeat(3,1fr); } }

/* Zodiac result */
.zodiac-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 16px 0;
}
.zodiac-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; text-align: center;
}
.zodiac-symbol { font-size: 2.5rem; margin-bottom: 6px; }
.zodiac-name   { font-size: 0.78rem; color: var(--muted); }
.zodiac-sign   { font-family: var(--font-head); font-weight: 700; color: var(--text); }
@media (max-width: 420px) { .zodiac-cards { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────
   HOW TO USE — Card section
────────────────────────────────────── */
.how-to-section {
  padding: clamp(48px,6vw,80px) 0;
}
.section-title {
  text-align: center; margin-bottom: 40px;
}
.section-title h2 { margin-bottom: 10px; }
.section-title p  { max-width: 500px; margin: 0 auto; }

.how-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px 3px 0 0;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.how-card .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(232,68,106,0.12);
  border: 1px solid rgba(232,68,106,0.25);
  color: var(--accent); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.how-card .step-icon { font-size: 2rem; margin-bottom: 12px; }
.how-card h3 { font-size: 1rem; margin-bottom: 8px; }
.how-card p  { font-size: 0.83rem; color: var(--muted); }

/* ──────────────────────────────────────
   ARTICLE SECTION
────────────────────────────────────── */
.article-section {
  padding: clamp(40px,6vw,80px) 0;
}
.article-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px,5vw,60px);
}
.article-inner h2 {
  margin: 28px 0 14px;
  font-size: clamp(1.2rem,2.5vw,1.6rem);
}
.article-inner h2:first-child { margin-top: 0; }
.article-inner h3 { margin: 22px 0 10px; font-size: 1.1rem; }
.article-inner p  { margin-bottom: 14px; }
.article-inner ul { margin: 10px 0 14px 20px; }
.article-inner ul li { color: var(--text2); font-size: 0.93rem; margin-bottom: 6px; }
.article-inner b, .article-inner strong { color: var(--text); font-weight: 600; }
.article-inner hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.article-inner table {
  width: 100%; border-collapse: collapse; margin: 16px 0 24px;
  font-size: 0.88rem;
}
.article-inner th {
  background: var(--accent); color: #fff;
  padding: 10px 14px; text-align: left;
}
.article-inner td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.article-inner tr:hover td { background: var(--surface2); }
.article-formula-box {
  background: rgba(232,68,106,0.06);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 16px 0;
}
.article-formula-box h3 { color: var(--text); margin-bottom: 10px; }

/* ──────────────────────────────────────
   FAQ
────────────────────────────────────── */
.faq-section { padding: clamp(40px,6vw,80px) 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; color: var(--text);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  text-align: left; transition: background 0.2s;
}
.faq-question:hover { background: var(--surface2); }
.faq-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--accent);
  transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 22px 18px; }
.faq-answer-inner p { font-size: 0.88rem; color: var(--text2); }

/* ──────────────────────────────────────
   ADSENSE PLACEHOLDER
────────────────────────────────────── */
.adsense-wrap { margin: 32px 0; text-align: center; }

/* ──────────────────────────────────────
   FOOTER
────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px clamp(16px,4vw,48px) 0;
  margin-top: 80px;
  font-family: var(--font-body);
}
.footer-top {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand .brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 16px; }
.footer-brand .brand-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.footer-brand .brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--text); }
.footer-brand .brand-name span { color: var(--accent); }
.footer-brand > p { color: var(--text2); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none;
  transition: all 0.25s; cursor: pointer;
}
.social-btn:hover { background: rgba(232,68,106,0.1); border-color: rgba(232,68,106,0.35); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text2); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom-bar {
  max-width: 1160px; margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-bar p { color: var(--muted); font-size: 0.82rem; }
.footer-bottom-bar a { color: var(--accent); text-decoration: none; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent); }
.footer-privacy-note { max-width: 1160px; margin: 0 auto; padding: 16px 0 24px; border-top: 1px solid var(--border); }
.footer-privacy-note p { color: var(--muted); font-size: 0.78rem; line-height: 1.65; text-align: center; }
.footer-privacy-note strong { color: var(--text2); }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } .footer-bottom-bar { flex-direction: column; text-align: center; } }

/* ──────────────────────────────────────
   REVEAL ANIMATIONS
────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────
   CANVAS (share image hidden)
────────────────────────────────────── */
#shareCanvas { display: none; }

/* ──────────────────────────────────────
   UTILITY
────────────────────────────────────── */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.copy-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  padding: 10px 20px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 600;
  z-index: 9999; opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.copy-toast.show { opacity: 1; }