/* ===== TOKENS ===== */
:root {
    --primary: #6B46C1;
    --secondary: #9F7AEA;
    --accent: #F6AD55;
    --accent2: #FC8181;
    --dark: #1A0B2E;
    --darker: #0F0520;
    --text: #E2E8F0;
    --muted: #A0AEC0;
    --card-bg: rgba(107, 70, 193, 0.1);
    --grad-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --grad-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --grad-cosmic: linear-gradient(135deg, #1e3c72 0%, #2a5298 40%, #7e22ce 100%);
    --grad-hero: linear-gradient(135deg, #0F0520 0%, #1e1040 50%, #2d1060 100%);
    --grad-accent: linear-gradient(90deg, #F6AD55, #FC8181, #9F7AEA, #F6AD55);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(15, 5, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(107, 70, 193, 0.2);
    transition: background 0.3s;
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 24px; }
/* ===== LOGO ===== */
.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700;
    color: var(--text); transition: opacity 0.3s;
}
.logo:hover { opacity: 0.85; }
.logo__img {
    width: 36px; height: 36px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 8px rgba(246,173,85,0.5));
}
.logo__text {
    background: linear-gradient(90deg, var(--text) 60%, var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-menu a:hover { color: var(--accent); }
.btn-download {
    background: var(--grad-purple);
    padding: 0.55rem 1.4rem; border-radius: 25px; color: white !important;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(107,70,193,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--text); border-radius: 3px; transition: all 0.3s; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 2rem; border-radius: 30px;
    font-weight: 600; font-size: 1rem; transition: all 0.3s;
    border: none; cursor: pointer;
}
.btn-primary { background: var(--grad-purple); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(107,70,193,0.5); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(159,122,234,0.5); }
.btn-ghost:hover { border-color: var(--secondary); background: rgba(159,122,234,0.1); transform: translateY(-2px); }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

/* ===== EYEBROW ===== */
.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1.2rem;
}

/* ===== HERO SPLIT ===== */
.hero-split {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--grad-hero);
    overflow: hidden; padding-top: 80px;
}
.hero-split__bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.35;
}
.orb--1 { width: 500px; height: 500px; background: radial-gradient(circle, #7e22ce, transparent); top: -100px; right: -100px; }
.orb--2 { width: 400px; height: 400px; background: radial-gradient(circle, #1e3c72, transparent); bottom: -80px; left: -80px; }
.orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, #F6AD55, transparent); top: 40%; left: 30%; opacity: 0.15; }

.star-field {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 75% 55%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 85% 30%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 20% 85%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 60% 90%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.6), transparent);
    animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } }

.hero-split__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center; padding: 5rem 24px;
}

.hero-split__text h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-split__text h1 em {
    font-style: normal;
    background: var(--grad-accent);
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 300% center; } }

.hero-split__text p { color: var(--muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 2.5rem; max-width: 480px; }
.hero-split__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-split__visual { position: relative; display: flex; justify-content: center; }

.phone-frame {
    position: relative; width: 280px; height: 560px;
    background: linear-gradient(145deg, #2d1b4e, #1a0f2e);
    border-radius: 40px; padding: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(159,122,234,0.2);
    animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.phone-glow {
    position: absolute; inset: -20px; border-radius: 60px;
    background: radial-gradient(ellipse, rgba(107,70,193,0.4), transparent 70%);
    z-index: -1;
}

.badge {
    position: absolute;
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(15,5,32,0.85); backdrop-filter: blur(12px);
    border: 1px solid rgba(159,122,234,0.3);
    border-radius: 50px; padding: 0.6rem 1.2rem;
    font-size: 0.85rem; font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.badge i { color: var(--accent); }
.badge--top { top: 8%; right: -10%; }
.badge--bottom { bottom: 12%; left: -12%; }

.hero-split__scroll-hint {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
    background: linear-gradient(90deg, #6B46C1, #9F7AEA, #F6AD55, #FC8181, #9F7AEA, #6B46C1);
    background-size: 300% auto;
    animation: gradShift 6s linear infinite;
    padding: 0.9rem 0; overflow: hidden;
}
@keyframes gradShift { to { background-position: 300% center; } }
.marquee-track {
    display: flex; gap: 3rem; white-space: nowrap;
    animation: marquee 25s linear infinite;
}
.marquee-track span {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
    color: rgba(255,255,255,0.9); flex-shrink: 0;
}
.marquee-track span i { font-size: 0.5rem; opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== BENTO GRID ===== */
.bento { padding: 7rem 0; background: var(--dark); }
.bento__header { text-align: center; margin-bottom: 4rem; }
.bento__header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2; margin-bottom: 1rem;
}
.bento__header h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.bento__header p { color: var(--muted); font-size: 1.05rem; }

.bento__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-card {
    position: relative; border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(107,70,193,0.25);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
    min-height: 280px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.bento-card:hover { transform: translateY(-6px); border-color: var(--secondary); box-shadow: 0 20px 50px rgba(107,70,193,0.3); }
.bento-card--wide { grid-column: span 2; }

.bento-card__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.25;
    transition: opacity 0.35s;
}
.bento-card:hover .bento-card__img { opacity: 0.35; }

.bento-card__content {
    position: relative; z-index: 1; padding: 2rem;
    background: linear-gradient(to top, rgba(15,5,32,0.95) 0%, rgba(15,5,32,0.5) 60%, transparent 100%);
}
.bento-card__icon {
    width: 52px; height: 52px;
    background: var(--grad-purple);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
}
.bento-card h3 { font-family: 'Cinzel', serif; font-size: 1.3rem; margin-bottom: 0.6rem; }
.bento-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* card accent gradients */
.bento-card--birth { background: linear-gradient(135deg, rgba(107,70,193,0.2), rgba(30,60,114,0.2)); }
.bento-card--compat { background: linear-gradient(135deg, rgba(240,147,251,0.15), rgba(245,87,108,0.15)); }
.bento-card--lunar { background: linear-gradient(135deg, rgba(30,60,114,0.2), rgba(107,70,193,0.2)); }
.bento-card--tarot { background: linear-gradient(135deg, rgba(246,173,85,0.15), rgba(252,129,129,0.15)); }
.bento-card--horoscope { background: linear-gradient(135deg, rgba(159,122,234,0.2), rgba(107,70,193,0.2)); }
.bento-card--guides { background: linear-gradient(135deg, rgba(30,60,114,0.2), rgba(126,34,206,0.2)); }

/* ===== ABOUT SPLIT ===== */
.about-split {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.about-split__image { position: relative; overflow: hidden; }
.about-split__image img { width: 100%; height: 100%; object-fit: cover; }
.about-split__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 40%, var(--darker) 100%);
}
.about-split__content {
    background: var(--darker);
    padding: 5rem 4rem;
    display: flex; flex-direction: column; justify-content: center;
}
.about-split__content h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2; margin-bottom: 1.5rem;
}
.about-split__content h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-split__content p { color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }

.check-list { list-style: none; display: grid; gap: 0.8rem; margin-bottom: 2.5rem; }
.check-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; }
.check-list li i { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }

/* ===== STATS ROW ===== */
.stats-row {
    background: linear-gradient(135deg, #1e1040 0%, #2d1060 50%, #1e3c72 100%);
    padding: 4rem 0;
    border-top: 1px solid rgba(159,122,234,0.2);
    border-bottom: 1px solid rgba(159,122,234,0.2);
}
.stats-row__grid {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.stats-row__item {
    display: flex; flex-direction: column; align-items: center;
    padding: 1rem 3rem; text-align: center;
}
.stats-row__item .stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem; font-weight: 700;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1;
}
.stats-row__item .stat-label { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }
.stats-row__divider { width: 1px; height: 60px; background: rgba(159,122,234,0.3); }

/* ===== TIMELINE ===== */
.timeline { padding: 7rem 0; background: var(--dark); }
.timeline__header { text-align: center; margin-bottom: 5rem; }
.timeline__header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2;
}
.timeline__header h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.timeline__steps {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.timeline__step {
    flex: 1; max-width: 300px; text-align: center; padding: 0 2rem;
    position: relative;
}
.timeline__num {
    font-family: 'Cinzel', serif; font-size: 5rem; font-weight: 700;
    color: rgba(107,70,193,0.15); line-height: 1; margin-bottom: -1rem;
}
.timeline__icon {
    width: 90px; height: 90px; margin: 0 auto 1.5rem;
    background: var(--grad-purple);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; position: relative; z-index: 1;
    box-shadow: 0 0 40px rgba(107,70,193,0.4);
}
.timeline__step h3 { font-family: 'Cinzel', serif; font-size: 1.3rem; margin-bottom: 0.8rem; }
.timeline__step p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.timeline__connector {
    flex-shrink: 0; width: 80px; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-top: 6.5rem; opacity: 0.5;
}

/* ===== REVIEWS ===== */
.reviews { padding: 7rem 0; background: var(--darker); }
.reviews__header { text-align: center; margin-bottom: 4rem; }
.reviews__header h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem;
}
.reviews__header h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.reviews__header p { color: var(--muted); font-size: 1.05rem; }

.reviews__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem; align-items: start;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid rgba(107,70,193,0.25);
    border-radius: 20px; padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}
.review-card:hover { transform: translateY(-5px); border-color: var(--secondary); }
.review-card--featured {
    background: linear-gradient(135deg, rgba(107,70,193,0.2), rgba(30,60,114,0.2));
    border-color: rgba(159,122,234,0.4);
    padding: 2.5rem;
}
.review-card__stars { display: flex; gap: 0.3rem; color: var(--accent); margin-bottom: 1.2rem; }
.review-card blockquote {
    color: var(--muted); line-height: 1.8; font-style: italic;
    margin-bottom: 1.5rem; font-size: 0.95rem;
}
.review-card--featured blockquote { font-size: 1.05rem; color: var(--text); }
.review-card footer { display: flex; flex-direction: column; gap: 0.2rem; }
.review-card footer strong { color: var(--text); font-size: 0.95rem; }
.review-card footer span { color: var(--muted); font-size: 0.85rem; }

/* ===== CTA FINAL ===== */
.cta-final {
    position: relative; overflow: hidden;
    padding: 8rem 0; text-align: center;
    background: var(--grad-hero);
}
.cta-final__bg { position: absolute; inset: 0; pointer-events: none; }
.orb--cta1 { width: 600px; height: 600px; background: radial-gradient(circle, #7e22ce, transparent); top: -200px; left: -100px; opacity: 0.3; }
.orb--cta2 { width: 500px; height: 500px; background: radial-gradient(circle, #1e3c72, transparent); bottom: -150px; right: -100px; opacity: 0.3; }
.cta-final__inner { position: relative; z-index: 1; }
.cta-final__inner h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.2; margin-bottom: 1.2rem;
}
.cta-final__inner h2 em {
    font-style: normal;
    background: var(--grad-accent); background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: shimmer 4s linear infinite;
}
.cta-final__inner p { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-final__note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--muted); }

/* ===== FOOTER ===== */
.footer {
    background: var(--darker); padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(107,70,193,0.2);
}
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand { max-width: 380px; }
.footer-logo {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700;
    color: var(--text); margin-bottom: 1rem; transition: opacity 0.3s;
}
.footer-logo:hover { opacity: 0.8; }
.footer-logo .logo__img { width: 34px; height: 34px; object-fit: contain; border-radius: 7px; filter: drop-shadow(0 0 6px rgba(246,173,85,0.4)); }
.footer-logo .logo__text { background: linear-gradient(90deg, var(--text) 60%, var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand > p { color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }

.footer-appstore {
    display: inline-flex; align-items: center; gap: 0.7rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(159,122,234,0.3);
    border-radius: 12px; padding: 0.7rem 1.2rem;
    color: var(--text); transition: all 0.3s;
}
.footer-appstore:hover { background: rgba(107,70,193,0.2); border-color: var(--secondary); transform: translateY(-2px); }
.footer-appstore i { font-size: 1.6rem; color: var(--text); }
.footer-appstore span { display: flex; flex-direction: column; line-height: 1.2; }
.footer-appstore small { font-size: 0.7rem; color: var(--muted); }
.footer-appstore span { font-size: 0.95rem; font-weight: 600; }

.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer-column h4 { font-family: 'Cinzel', serif; margin-bottom: 1rem; color: var(--text); font-size: 0.95rem; letter-spacing: 0.05em; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.7rem; }
.footer-column ul li a { color: var(--muted); transition: color 0.3s; font-size: 0.9rem; }
.footer-column ul li a:hover { color: var(--accent); }
.footer-bottom {
    text-align: center; padding-top: 2rem;
    border-top: 1px solid rgba(107,70,193,0.15);
}
.footer-bottom p { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer-disclaimer { font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bento__grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card--wide { grid-column: span 2; }
    .reviews__grid { grid-template-columns: 1fr 1fr; }
    .review-card--featured { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; left: -100%; top: 70px;
        flex-direction: column; background: rgba(15,5,32,0.98);
        width: 100%; text-align: center; transition: 0.3s;
        padding: 2rem 0; gap: 1.5rem;
    }
    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }

    .hero-split__inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding: 4rem 24px; }
    .hero-split__text p { margin: 0 auto 2rem; }
    .hero-split__actions { justify-content: center; }
    .hero-split__visual { order: -1; }
    .badge--top { top: 5%; right: 0; }
    .badge--bottom { bottom: 5%; left: 0; }

    .about-split { grid-template-columns: 1fr; }
    .about-split__image { height: 300px; }
    .about-split__overlay { background: linear-gradient(to bottom, transparent 40%, var(--darker) 100%); }
    .about-split__content { padding: 3rem 2rem; }

    .stats-row__grid { gap: 0; }
    .stats-row__item { padding: 1rem 1.5rem; }
    .stats-row__divider { display: none; }

    .timeline__steps { flex-direction: column; align-items: center; gap: 2rem; }
    .timeline__connector { width: 2px; height: 40px; margin: 0; }

    .reviews__grid { grid-template-columns: 1fr; }
    .review-card--featured { grid-column: span 1; }

    .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .bento__grid { grid-template-columns: 1fr; }
    .bento-card--wide { grid-column: span 1; }
    .phone-frame { width: 240px; height: 480px; }
    .stats-row__item .stat-number { font-size: 2.2rem; }
}

/* ===== LEGAL PAGES (unchanged) ===== */
.legal-main { padding-top: 100px; }
.legal-page { padding: 4rem 0; background: var(--dark); min-height: 100vh; }
.legal-content {
    max-width: 900px; margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(107,70,193,0.3);
    border-radius: 20px; padding: 3rem;
    backdrop-filter: blur(10px);
}
.legal-content h1 { font-family: 'Cinzel', serif; font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--text); }
.last-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; font-style: italic; }
.legal-content h2 { font-family: 'Cinzel', serif; font-size: 1.8rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--secondary); }
.legal-content h3 { font-family: 'Cinzel', serif; font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.8rem; color: var(--text); }
.legal-content p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul, .legal-content ol { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; padding-left: 2rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--accent); text-decoration: underline; transition: color 0.3s; }
.legal-content a:hover { color: var(--secondary); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-cta { margin-top: 3rem; text-align: center; padding-top: 2rem; border-top: 1px solid rgba(107,70,193,0.3); }

@media (max-width: 768px) {
    .legal-content { padding: 2rem 1.5rem; }
    .legal-content h1 { font-size: 2rem; }
    .legal-content h2 { font-size: 1.5rem; }
}

/* ===== 404 PAGE ===== */
.error-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-cosmic);
    text-align: center; padding: 2rem;
}
.error-content { max-width: 600px; }
.error-icon { margin-bottom: 1.5rem; }
.error-logo-img {
    width: 80px; height: 80px; object-fit: contain;
    border-radius: 20px; margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(246,173,85,0.6));
}
.error-code {
    font-family: 'Cinzel', serif; font-size: clamp(5rem, 15vw, 9rem); font-weight: 700;
    background: linear-gradient(90deg, #F6AD55, #FC8181, #9F7AEA, #F6AD55);
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: shimmer 3s linear infinite; line-height: 1; margin-bottom: 1rem;
}
.error-title { font-family: 'Cinzel', serif; font-size: 2rem; margin-bottom: 1rem; color: var(--text); }
.error-text { font-size: 1.05rem; color: var(--muted); margin-bottom: 2.5rem; line-height: 1.8; }
.error-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-appstore { width: fit-content; }
}
