/* ── Vorly Shared Styles ── */

:root {
    --primary: #2A7BA8;
    --primary-light: #3A9BD5;
    --primary-dark: #1E5A7A;
    --accent: #F7CC26;
    --accent-glow: rgba(247, 204, 38, 0.3);
    --bg: #0B1120;
    --bg-elevated: #0F1729;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text: #E8ECF4;
    --text-muted: #8B95A8;
    --border: rgba(255, 255, 255, 0.06);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Aurora Background ── */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.13;
    animation: aurora-float 22s ease-in-out infinite;
    will-change: transform;
}
.aurora-blob:nth-child(1) {
    width: 650px; height: 650px;
    background: var(--primary);
    top: -220px; left: -120px;
}
.aurora-blob:nth-child(2) {
    width: 550px; height: 550px;
    background: #7B61FF;
    top: 28%; right: -180px;
    animation-delay: -7s;
    animation-duration: 28s;
}
.aurora-blob:nth-child(3) {
    width: 750px; height: 750px;
    background: var(--accent);
    bottom: -250px; left: 25%;
    animation-delay: -14s;
    opacity: 0.07;
}
.aurora-blob:nth-child(4) {
    width: 450px; height: 450px;
    background: #00BCD4;
    top: 55%; left: -130px;
    animation-delay: -5s;
    animation-duration: 32s;
}
@keyframes aurora-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.06); }
    66% { transform: translate(-40px, 55px) scale(0.94); }
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

/* ── Container ── */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Footer ── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-logo {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ── Legal Page Content ── */
.legal-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 60px) 24px 80px;
}
.legal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.legal-content .subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 48px;
}
.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-top: 40px;
    margin-bottom: 12px;
}
.legal-content p,
.legal-content ul,
.legal-content ol {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 16px;
}
.legal-content ol {
    padding-left: 24px;
}
.legal-content ol li {
    margin-bottom: 10px;
}
.legal-content ul {
    padding-left: 24px;
}
.legal-content ul li {
    margin-bottom: 6px;
}
.legal-content a {
    color: var(--primary-light);
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}
.legal-content strong {
    color: var(--text);
    font-weight: 600;
}
.legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}
.legal-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    padding-left: 20px;
    position: relative;
}
.legal-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}
.warning {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 32px;
    color: #fca5a5;
    font-size: 0.95rem;
    line-height: 1.75;
}
