@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Nunito:wght@700;900&display=swap');

:root {
    --primary: #7000ff;
    --accent: #C084FC;
    --text: #d4d4d4;
    --bg-glass: rgba(20, 20, 20, 0.7);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: #050505;
    line-height: 1.8;
}

#fixed-background {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(112,0,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(112,0,255,0.15) 0%, transparent 40%);
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.Logo { height: 40px; }

#navbar a,
.nav-center a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 20px;
    transition: color 0.3s;
    border-bottom: none;
}
.nav-center a:hover { color: var(--primary); }

.legal-container {
    max-width: 900px;
    margin: 80px auto;
    padding: 60px;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    background: linear-gradient(to right, #7000ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-family: 'Nunito', sans-serif;
    color: white;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(112, 0, 255, 0.3);
    padding-bottom: 10px;
}

p, li {
    margin-bottom: 15px;
    text-align: justify;
    color: #cccccc;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

strong {
    color: white;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px dashed var(--accent);
}
a:hover {
    color: white;
    border-bottom: 1px solid white;
}

footer {
    background: rgba(5, 5, 5, 0.8);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

footer a,
.footer-links a {
    color: #888;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    border-bottom: none;
}
.footer-links a:hover { color: white; }

@media (max-width: 768px) {
    .legal-container { margin: 20px; padding: 25px; width: 90%; }
    #navbar { padding: 15px 20px; flex-direction: column; gap: 15px; }
    .nav-center { flex-direction: column; gap: 10px; }
    h1 { font-size: 2rem; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
}

.mobile-page-title, 
.burger-icon, 
#mobile-menu-overlay {
    display: none; 
}

@media (max-width: 1024px) {
    
    nav {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
    }

    .desktop-only { display: none !important; }

    .mobile-page-title {
        display: block;
        color: #7000ff; 
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 1.1rem;
        letter-spacing: 2px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-transform: uppercase;
        white-space: nowrap;
    }

    .burger-icon {
        display: block;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        padding: 10px;
    }

    #mobile-menu-overlay {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background-color: #050505;
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        opacity: 0;
    }

    #mobile-menu-overlay.active {
        transform: translateX(0);
        opacity: 1;
    }

    .mobile-menu-header {
        display: flex; justify-content: space-between; align-items: center;
        padding: 25px 5%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .mobile-menu-header .logo-text { font-weight: 800; color: #7000ff; letter-spacing: 2px; }
    .close-btn { font-size: 2rem; color: white; cursor: pointer; }

    .mobile-links {
        flex: 1; display: flex; flex-direction: column;
        justify-content: center; align-items: center; gap: 35px;
    }
    .mobile-links a {
        font-size: 1.8rem; color: white; text-decoration: none;
        font-weight: 700; text-transform: uppercase; transition: 0.3s;
    }
    .mobile-links a:hover { color: #7000ff; }

    @media (min-width: 700px) {
        .mobile-page-title { font-size: 1.6rem; }
        .mobile-links a { font-size: 2.5rem; }
        .burger-icon { font-size: 2rem; }
    }
}