/* FireworkFinder — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #0b0b14; --bg2: #10101c; --surface: #14141e; --surface2: #1a1a26;
  --border: #252535; --text: #f0f0f0; --text-muted: #b0b0cc;
  --accent: #ff5a30; --accent-dark: #e8380d;
  --teal: #3ecfaa; --teal-bg: #0a1e18;
  --purple: #a78bfa; --gold: #fbbf24;
  --radius: 16px; --radius-pill: 999px;
  --shadow: 0 2px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 4px 32px rgba(0,0,0,0.6);
}
[data-theme="light"] {
  --bg: #faf8f4; --bg2: #f3efe8; --surface: #ffffff; --surface2: #f0ece5;
  --border: #e8e2d8; --text: #1a1714; --text-muted: #7a736a;
  --accent: #e8380d; --teal: #1d9e75; --teal-bg: #e8f6f1;
  --purple: #7c3aed; --gold: #d97706;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); min-height: 100dvh; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* HEADER */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  gap: 12px;
}
.header-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo img { height: 32px; width: auto; }
.logo-text { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.5px; }
.logo-text span { color: var(--accent); }

.header-nav { display: flex; align-items: center; gap: 2px; overflow: hidden; flex: 1; }
.nav-link { padding: 6px 9px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: var(--text); background: var(--surface2); }
.nav-link.active { color: var(--accent); background: rgba(255,90,48,0.08); }

.header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: opacity 0.15s; white-space: nowrap; font-family: inherit; }
.btn-pill.orange { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-pill.teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-pill.outline { background: transparent; border-color: var(--border); color: var(--text-muted); }
.btn-pill:hover { opacity: 0.85; }
.btn-theme { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface2); color: var(--text); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit; }

/* HERO */
.hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255,90,48,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 50%, rgba(167,139,250,0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 30%, rgba(251,191,36,0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 90%, rgba(62,207,170,0.1) 0%, transparent 40%),
    linear-gradient(180deg, #0a0614 0%, #0b0b14 100%);
  padding: 100px 24px 90px;
  text-align: center;
  position: relative; overflow: hidden;
}
[data-theme="light"] .hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(232,56,13,0.1) 0%, transparent 60%), linear-gradient(180deg, #fff5f2 0%, var(--bg) 100%);
}
.hero-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.25); border-radius: var(--radius-pill); padding: 5px 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.05; color: #fff; margin-bottom: 14px; }
[data-theme="light"] .hero h1 { color: var(--text); }
.hero h1 .hi { color: var(--accent); text-shadow: 0 0 40px rgba(255,90,48,0.4); }
.hero-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.65; max-width: 460px; margin: 0 auto 28px; }

/* SPARKLES */
.sparkle { position: absolute; border-radius: 50%; pointer-events: none; animation: twinkle var(--dur,2.5s) ease-in-out infinite; animation-delay: var(--delay,0s); }
@keyframes twinkle { 0%,100%{opacity:.9;transform:scale(1)} 50%{opacity:.1;transform:scale(.4)} }

/* ACTION BUTTONS */
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.action-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-pill); font-size: 0.92rem; font-weight: 800; border: none; cursor: pointer; transition: opacity 0.15s, transform 0.1s; font-family: inherit; text-decoration: none; }
.action-btn:hover { opacity: 0.88; }
.action-btn:active { transform: scale(0.97); }
.action-btn.orange { background: var(--accent); color: #fff; box-shadow: 0 4px 24px rgba(255,90,48,0.35); }
.action-btn.teal { background: var(--teal); color: #fff; box-shadow: 0 4px 24px rgba(62,207,170,0.25); }
.action-btn.ghost { background: rgba(255,255,255,0.08); color: #e0e0e0; border: 2px solid rgba(255,255,255,0.15); }
[data-theme="light"] .action-btn.ghost { background: var(--surface); color: var(--text); border-color: var(--border); }

/* CARDS */
.card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card-title { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); margin-bottom: 14px; }

/* CONTENT WRAP */
.content { max-width: 900px; margin: 0 auto; padding: 32px 24px 80px; }
.section-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.section-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }

/* GRID */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* PILLS */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); }
.pill.teal { background: rgba(62,207,170,0.1); color: var(--teal); border: 1px solid rgba(62,207,170,0.25); }
.pill.orange { background: rgba(255,90,48,0.1); color: var(--accent); border: 1px solid rgba(255,90,48,0.25); }
.pill.grey { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); }
.pill.gold { background: rgba(251,191,36,0.1); color: var(--gold); border: 1px solid rgba(251,191,36,0.25); }
.pill.purple { background: rgba(167,139,250,0.1); color: var(--purple); border: 1px solid rgba(167,139,250,0.25); }

/* DIVIDER */
hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* FOOTER */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 32px 24px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }
footer .footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .header-nav { display: none; }
}
