/* Legal Pages Styles */
:root {
    --primary-bg: #0e121a;          /* Dark blue instead of dark green */
    --secondary-bg: #1a1f2f;        /* Deep navy instead of forest green */
    --accent-green: #00a2ff;        /* Bright blue instead of green */
    --accent-gold: #c0c0c0;         /* Silver instead of gold */
    --text-primary: #ffffff;        /* Unchanged */
    --text-secondary: #b8c2d4;      /* Cool gray-blue instead of greenish */
    --text-muted: #7a8099;          /* Muted blue-gray instead of green-gray */
    --glow-green: rgba(0, 162, 255, 0.3);  /* Blue glow instead of green */
    --glow-gold: rgba(192, 192, 192, 0.3); /* Silver glow instead of gold */
    --shadow-dark: rgba(0, 0, 0, 0.8);     /* Unchanged */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Unchanged */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jura', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #0f1b13 50%, var(--primary-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--glow-green) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--glow-gold) 0%, transparent 50%);
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(26, 47, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 60, 255, 0.301);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-green);
    text-shadow: 0 0 20px var(--glow-green);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid rgba(25, 0, 255, 0.2);
    background: rgba(0, 255, 136, 0.1);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
    background: rgba(0, 140, 255, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px var(--glow-green);
}

/* Main Content */
.legal-main {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0, 81, 255, 0.2);
}

.legal-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--glow-green);
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-style: italic;
}

.legal-content {
    background: rgba(26, 47, 31, 0.3);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 89, 255, 0.2);
    backdrop-filter: blur(5px);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 89, 255, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-green);
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.legal-list {
    color: var(--text-secondary);
    margin: 15px 0;
    padding-left: 25px;
}

.legal-list li {
    margin-bottom: 8px;
    position: relative;
}

.legal-list li::marker {
    color: var(--accent-green);
}

/* Footer */
.footer {
    background: var(--primary-bg);
    padding: 30px 0;
    border-top: 1px solid rgba(0, 47, 255, 0.2);
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: var(--text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 10px var(--glow-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-content {
        padding: 25px;
        border-radius: 15px;
    }
    
    .legal-main {
        padding: 40px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .legal-list {
        padding-left: 20px;
    }
    
    .legal-subtitle {
        font-size: 1rem;
    }
}

/* Accessibility */
.legal-section:focus,
.nav-link:focus,
.footer-link:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar,
    .footer {
        display: none;
    }
    
    .legal-content {
        background: none;
        border: none;
        box-shadow: none;
    }
    
    .legal-title {
        color: black;
    }
    
    .section-title {
        color: #333;
    }
}