/* ── EventPilot — AI Ticket Discovery ── */

:root {
    --bg-dark: #0a0a0f;
    --bg-hero: linear-gradient(165deg, #0a0a0f 0%, #12101a 40%, #1a0e2e 70%, #0f0a1a 100%);
    --bg-light: #f8f7f4;
    --bg-card: #ffffff;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-light: rgba(255, 255, 255, 0.07);
    --ink: #0f0e13;
    --ink-light: #ffffff;
    --muted: #6b6680;
    --muted-light: rgba(255, 255, 255, 0.55);
    --line: rgba(255, 255, 255, 0.08);
    --line-dark: rgba(0, 0, 0, 0.08);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.25);
    --accent-2: #06b6d4;
    --accent-3: #f59e0b;
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);
    --gradient-cool: linear-gradient(135deg, #06b6d4, #8b5cf6);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 20px 48px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg-light);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Shell ── */
.shell { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }

/* ── Navigation ── */
.nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 1rem;
    transition: background 0.3s, backdrop-filter 0.3s;
}
.nav-wrap.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    padding: 0.5rem 0.85rem;
    color: var(--muted-light);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
    color: #fff;
    background: var(--surface-light);
}
.nav-cta {
    margin-left: 0.5rem;
    padding: 0.5rem 1.1rem !important;
    background: var(--gradient-accent) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}

/* ── Hero ── */
.hero {
    background: var(--bg-hero);
    padding: 100px 1rem 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    padding-bottom: 4rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}
.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    max-width: 16ch;
    margin: 0 auto 1.2rem;
    letter-spacing: -0.02em;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, #8b5cf6, #06b6d4, #8b5cf6, #06b6d4);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--muted-light);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ── AI Search Box (Hero) ── */
.ai-search-wrap {
    max-width: 680px;
    margin: 0 auto 3rem;
    position: relative;
}
.ai-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface-light);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.ai-search-box:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: var(--shadow-glow);
}
.ai-search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    min-height: 44px;
}
.ai-search-box input::placeholder {
    color: var(--muted-light);
}
.ai-search-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-accent);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.2rem;
}
.ai-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 24px rgba(139,92,246,0.4);
}
.ai-search-hints {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.ai-hint {
    padding: 0.4rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-light);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ai-hint:hover {
    background: var(--surface-light);
    color: #fff;
    border-color: rgba(139,92,246,0.3);
}

/* ── Stats Row ── */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0 0;
    border-top: 1px solid var(--line);
}
.stat {
    text-align: center;
}
.stat-value {
    font-family: "Fraunces", serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--muted-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.15rem;
}

/* ── Category Grid (below hero, still dark) ── */
.categories-section {
    background: var(--bg-dark);
    padding: 3rem 1rem 4rem;
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-header h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.section-header p {
    margin-top: 0.6rem;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.categories-section .section-header h2 { color: #fff; }
.categories-section .section-header p { color: var(--muted-light); }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
.cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-light);
    border: 1px solid var(--line);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: rgba(139,92,246,0.3);
}
.cat-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.cat-card:hover .cat-card-img img {
    transform: scale(1.05);
}
.cat-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 60%);
}
.cat-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(139,92,246,0.9);
    color: #fff;
}
.cat-tag.sports { background: rgba(6,182,212,0.9); }
.cat-tag.festivals { background: rgba(245,158,11,0.9); }
.cat-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cat-body h3 {
    font-family: "Fraunces", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}
.cat-body p {
    font-size: 0.88rem;
    color: var(--muted-light);
    line-height: 1.5;
    flex: 1;
}
.cat-body .cat-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    transition: gap 0.2s;
}
.cat-card:hover .cat-cta {
    gap: 0.65rem;
}

/* ── Light sections ── */
.light-section {
    padding: 5rem 1rem;
}
.light-section .section-header h2 { color: var(--ink); }
.light-section .section-header p { color: var(--muted); }

/* ── AI Finder Section ── */
.finder-section {
    background: var(--bg-light);
    padding: 5rem 1rem;
}
.finder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.finder-left .section-header { text-align: left; }
.finder-left .section-header p { margin-left: 0; }

.finder-form {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line-dark);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 48px;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder {
    color: var(--muted);
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line-dark);
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.2s;
    cursor: pointer;
}
.chip:hover span {
    border-color: var(--accent);
    color: var(--accent);
}
.chip input:checked + span {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
}

.finder-submit {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-md);
    background: var(--gradient-accent);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.finder-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

/* ── AI Results ── */
.ai-results-wrap {
    max-width: 1200px;
    margin: 2rem auto 0;
}
.status-box {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--line-dark);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.status-box .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--line-dark);
    border-top-color: var(--accent);
    border-radius: 50%;
    display: none;
}
.status-box.loading .spinner {
    display: block;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.result-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
}
.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.result-card .overline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}
.result-card h3 {
    font-family: "Fraunces", serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.result-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.result-card .btn-ticket {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.result-card .btn-ticket:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.result-card.summary-card {
    background: linear-gradient(135deg, #f5f3ff, #ecfeff);
    border-color: rgba(139,92,246,0.15);
}
.result-card.summary-card h3 { color: var(--accent); }
.result-card.summary-card ul {
    padding-left: 1.1rem;
    list-style: disc;
}
.result-card.summary-card li {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* ── Guide Cards Section (light) ── */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}
.guide-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.guide-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.guide-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.guide-card:hover .guide-card-img img {
    transform: scale(1.05);
}
.guide-card-img .guide-tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    color: #fff;
}
.guide-card-body {
    padding: 1.25rem;
}
.guide-card-body .market-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 0.35rem;
    display: block;
}
.guide-card-body h3 {
    font-family: "Fraunces", serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.4rem;
}
.guide-card-body p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.guide-card-actions {
    display: flex;
    gap: 0.5rem;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--line-dark);
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--ink);
}

/* ── How It Works ── */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.how-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow-card);
}
.how-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}
.how-icon.purple { background: #f5f3ff; }
.how-icon.cyan { background: #ecfeff; }
.how-icon.amber { background: #fffbeb; }
.how-card .step-num {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}
.how-card h3 {
    font-family: "Fraunces", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.how-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 3.5rem 1rem 2rem;
    margin-top: 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand {
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-desc {
    font-size: 0.9rem;
    color: var(--muted-light);
    line-height: 1.6;
    max-width: 340px;
}
.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-light);
    margin-bottom: 0.85rem;
}
.footer-col a {
    display: block;
    padding: 0.3rem 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--muted-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Guide Page ── */
.guide-page {
    padding-top: 80px;
}
.guide-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.guide-hero-section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line-dark);
    display: grid;
    grid-template-columns: 400px 1fr;
    margin-bottom: 2rem;
}
.guide-hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}
.guide-hero-copy {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.guide-hero-copy .overline {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.guide-hero-copy h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}
.guide-hero-copy .guide-lede {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.guide-hero-copy .guide-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.guide-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.guide-detail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--line-dark);
    box-shadow: var(--shadow-card);
}
.guide-detail-card .overline {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}
.guide-detail-card h3 {
    font-family: "Fraunces", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.guide-detail-card p,
.guide-detail-card li {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}
.guide-detail-card ul {
    padding-left: 1.1rem;
    list-style: disc;
}
.guide-detail-card li {
    margin-bottom: 0.25rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .finder-container { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .category-grid { grid-template-columns: 1fr; }
    .guides-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .guide-hero-section { grid-template-columns: 1fr; }
    .guide-hero-section img { min-height: 200px; max-height: 240px; }
    .guide-details { grid-template-columns: 1fr; }
    .stats-row { gap: 1.5rem; flex-wrap: wrap; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .nav-links { display: none; }
    .hero { padding: 80px 1rem 0; }
}

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Hero entrance ── */
.hero-inner > * {
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-inner > :nth-child(1) { animation-delay: 0.1s; }
.hero-inner > :nth-child(2) { animation-delay: 0.2s; }
.hero-inner > :nth-child(3) { animation-delay: 0.3s; }
.hero-inner > :nth-child(4) { animation-delay: 0.45s; }
.hero-inner > :nth-child(5) { animation-delay: 0.6s; }

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Shimmer loading for AI results ── */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer-card {
    background: linear-gradient(90deg,
        var(--bg-light) 25%,
        #e8e6e1 37%,
        var(--bg-light) 63%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-lg);
    min-height: 200px;
    border: 1px solid var(--line-dark);
}

/* ── Floating particles in hero ── */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.4);
    animation: float-up linear infinite;
}
.particle:nth-child(odd) {
    background: rgba(6, 182, 212, 0.3);
}
@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-20vh) scale(1);
        opacity: 0;
    }
}

/* ── Glow pulse on search button ── */
.ai-search-btn {
    position: relative;
}
.ai-search-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.3s;
}
.ai-search-box:focus-within .ai-search-btn::after {
    opacity: 0.5;
    animation: glow-pulse 2s ease infinite;
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

/* ── Result card entrance ── */
.results-grid .result-card {
    animation: card-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.results-grid .result-card:nth-child(1) { animation-delay: 0.05s; }
.results-grid .result-card:nth-child(2) { animation-delay: 0.15s; }
.results-grid .result-card:nth-child(3) { animation-delay: 0.25s; }
.results-grid .result-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes card-pop {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Share button on results ── */
.share-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line-dark);
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(139,92,246,0.05);
}
.share-btn.copied {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34,197,94,0.05);
}

/* ── Trending badge ── */
.trending-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(245,158,11,0.1));
    border: 1px solid rgba(239,68,68,0.15);
    font-size: 0.72rem;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.trending-badge .fire { animation: fire-pulse 1s ease infinite; }
@keyframes fire-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ── Nav CTA pulse ── */
.nav-cta {
    position: relative;
    overflow: visible;
}
.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    animation: nav-glow 3s ease infinite;
}
@keyframes nav-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.4; }
}

/* ── Geo banner ── */
.geo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: linear-gradient(135deg, rgba(139,92,246,0.95), rgba(6,182,212,0.95));
    backdrop-filter: blur(20px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    animation: geo-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes geo-slide {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.geo-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
}
.geo-banner-icon { font-size: 1.05rem; }
.geo-banner-action {
    margin-left: 0.35rem;
    padding: 0.2rem 0.7rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s;
}
.geo-banner-action:hover { background: rgba(255,255,255,0.3); }
.geo-banner-close {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.35rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.3rem;
}
.geo-banner-close:hover { color: #fff; }
body.has-geo-banner .nav-wrap { top: 40px; }
body.has-geo-banner .hero { padding-top: 140px; }

/* ── Trending rail ── */
.trending-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 0.5rem;
}
.trending-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.trending-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.trending-title h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.trending-sub {
    font-size: 0.85rem;
    color: var(--muted);
}
.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239,68,68,0.7);
    animation: live-pulse 1.8s ease infinite;
    flex-shrink: 0;
}
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
    70% { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
    100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.trending-rail-wrap {
    position: relative;
}
.trending-rail {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,92,246,0.3) transparent;
    -webkit-overflow-scrolling: touch;
}
.trending-rail::-webkit-scrollbar { height: 6px; }
.trending-rail::-webkit-scrollbar-track { background: transparent; }
.trending-rail::-webkit-scrollbar-thumb {
    background: rgba(139,92,246,0.3);
    border-radius: 3px;
}
.trend-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}
.trend-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(139,92,246,0.3);
}
.trend-art {
    height: 130px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.trend-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.2), transparent 60%);
    pointer-events: none;
}
.trend-initials {
    font-family: "Fraunces", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1;
}
.trend-heat {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    z-index: 1;
}
.trend-body {
    padding: 0.9rem 1.05rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.trend-artist {
    font-family: "Fraunces", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}
.trend-tour {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.35;
    margin-bottom: 0.35rem;
    min-height: 2.2em;
}
.trend-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    color: var(--muted);
    flex-wrap: wrap;
}
.trend-price {
    font-weight: 700;
    color: var(--accent);
}
.trend-dot { opacity: 0.4; }
.trend-cities { color: var(--muted); }

.rail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    background: var(--bg-card);
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    transition: all 0.2s;
    z-index: 2;
    font-family: inherit;
}
.rail-nav:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.rail-nav.prev { left: -20px; }
.rail-nav.next { right: -20px; }
.rail-nav:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}
@media (max-width: 768px) {
    .rail-nav { display: none; }
    .trend-card { flex-basis: 220px; }
}

/* ── Category filter tabs ── */
.category-filters {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.cat-filter {
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    color: var(--muted-light);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s;
}
.cat-filter:hover {
    border-color: rgba(139,92,246,0.4);
    color: #fff;
}
.cat-filter.active {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(139,92,246,0.35);
}
.cat-card[hidden] { display: none !important; }
.cat-card.filter-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* ── Favorite button on cards ── */
.cat-card {
    position: relative;
}
.cat-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
.fav-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}
.fav-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}
.fav-btn.saved {
    color: #ef4444;
    background: #fff;
}
.fav-btn.saved .fav-icon {
    fill: #ef4444;
    animation: fav-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fav-icon {
    width: 18px;
    height: 18px;
}
@keyframes fav-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ── Floating AI button ── */
.ai-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    background: var(--gradient-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(139,92,246,0.45);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.35s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-fab.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: fab-pulse 3.5s ease-in-out infinite 1s;
}
.ai-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 36px rgba(139,92,246,0.6);
}
.ai-fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 1.05rem;
    animation: sparkle-rot 6s linear infinite;
}
@keyframes sparkle-rot {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(139,92,246,0.45); }
    50% { box-shadow: 0 8px 30px rgba(139,92,246,0.45), 0 0 0 10px rgba(139,92,246,0.1); }
}
@media (max-width: 768px) {
    .ai-fab { bottom: 1rem; right: 1rem; padding: 0.75rem 1.1rem; font-size: 0.82rem; }
    .ai-fab-label { display: none; }
    .ai-fab-icon { width: 18px; height: 18px; }
}

/* ── Autocomplete dropdown ── */
.ai-search-wrap { position: relative; }
.autocomplete-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(20, 18, 30, 0.96);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(139,92,246,0.15);
    z-index: 50;
    max-height: 420px;
    overflow-y: auto;
    animation: ac-slide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ac-slide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.autocomplete-list {
    padding: 0.4rem;
    margin: 0;
}
.ac-group {
    padding: 0.35rem 0.75rem 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}
.ac-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s;
    color: #fff;
}
.ac-item:hover, .ac-item.active {
    background: rgba(139,92,246,0.18);
}
.ac-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fraunces", serif;
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    background: var(--gradient-accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.ac-icon-emoji {
    background: rgba(255,255,255,0.08);
    font-family: inherit;
    font-size: 1.2rem;
}
.ac-text {
    flex: 1;
    min-width: 0;
}
.ac-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ac-sub {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ac-arrow {
    flex-shrink: 0;
    color: rgba(255,255,255,0.3);
    font-size: 1.05rem;
}
.ac-item.active .ac-arrow { color: var(--accent); }
.ac-empty {
    padding: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
}

/* ── Saved drawer ── */
.nav-saved {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--muted-light);
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 0.5rem;
    font-family: inherit;
}
.nav-saved:hover {
    color: #ef4444;
    border-color: rgba(239,68,68,0.4);
    background: rgba(239,68,68,0.08);
}
.nav-saved .fav-icon { width: 16px; height: 16px; }
.saved-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239,68,68,0.5);
    animation: count-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes count-pop {
    0% { transform: scale(0); }
    60% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 300;
    animation: fade-in 0.3s ease;
}
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.saved-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 92vw);
    background: #ffffff;
    z-index: 310;
    box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    animation: drawer-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.saved-drawer[hidden], .drawer-backdrop[hidden], .geo-banner[hidden], .autocomplete-panel[hidden], .saved-count[hidden] {
    display: none !important;
}
@keyframes drawer-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--line-dark);
}
.drawer-head h3 {
    font-family: "Fraunces", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
}
.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: var(--muted);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: inherit;
}
.drawer-close:hover { background: var(--bg-light); color: var(--ink); }
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
}
.drawer-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--muted);
}
.drawer-empty .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.4;
}
.drawer-empty p { font-size: 0.9rem; line-height: 1.5; }
.drawer-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    margin-bottom: 0.6rem;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}
.drawer-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.drawer-item img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.drawer-item-text { flex: 1; min-width: 0; }
.drawer-item-title {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ink);
}
.drawer-item-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: capitalize;
}
.drawer-item-remove {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    font-family: inherit;
}
.drawer-item-remove:hover { color: #ef4444; background: rgba(239,68,68,0.08); }

/* ── Animated stat counters ── */
.stat-value.counting {
    background: linear-gradient(135deg, #fff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero spotlight that follows mouse ── */
.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mx, 50%) var(--my, 30%),
        rgba(139, 92, 246, 0.15),
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}
.hero:hover .hero-spotlight { opacity: 1; }
