/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #4e273f 0%, #8a406d 30%, #a6578a 50%, #d6a3c4 70%, #ffc233 100%);
}

/* ── Community Gradient ── */
.community-gradient {
    background: linear-gradient(135deg, #5c2c49 0%, #8a406d 40%, #a6578a 70%, #c07aa6 100%);
}

/* ── Reveal Animations (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu Transition ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#mobile-menu.open {
    max-height: 400px;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf4f8; }
::-webkit-scrollbar-thumb { background: #d6a3c4; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a6578a; }

/* ── Focus Styles ── */
:focus-visible {
    outline: 2px solid #f5a623;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection {
    background: #e8cce0;
    color: #4e273f;
}
