/* =========================================
   LEGAL PAGES STYLES
   Gaijin Games - Terms, Privacy, Disclaimer
   ========================================= */

/* Legal Page Body */
.legal-page {
    background: linear-gradient(180deg, #0a0a12 0%, #1a1a2e 100%);
    min-height: 100vh;
}

/* Legal Content Container */
.legal-content {
    padding: 120px 24px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-container {
    background: rgba(20, 20, 35, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 48px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

/* Legal Header */
.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.legal-header .eyebrow {
    color: var(--brand-cyan, #00FFFF);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 16px;
    display: block;
}

.legal-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(18px, 4vw, 28px);
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.legal-updated {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-family: monospace;
}

/* Legal Body Content */
.legal-body {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 14px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    color: var(--brand-cyan, #00FFFF);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-section h3 {
    font-size: 14px;
    color: var(--brand-gold, #FFD700);
    margin: 24px 0 12px;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
}

.legal-section li::marker {
    color: var(--brand-cyan, #00FFFF);
}

.legal-section strong {
    color: #fff;
}

.legal-section a {
    color: var(--brand-cyan, #00FFFF);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: var(--brand-gold, #FFD700);
    text-decoration: underline;
}

.contact-info {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 12px;
}

/* Warning Box for Critical Disclaimers */
.warning-box,
.legal-section p.warning-box {
    background: rgba(255, 50, 50, 0.15);
    border: 2px solid rgba(255, 100, 100, 0.5);
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    color: #ff6b6b;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Legal Navigation */
.legal-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.legal-nav .btn {
    flex: 1;
    max-width: 200px;
    text-align: center;
    padding: 14px 24px;
    font-size: 10px;
}

/* Legal Footer */
.legal-footer {
    background: rgba(10, 10, 18, 0.95);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 24px;
    text-align: center;
}

.legal-footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.legal-footer-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin: 0;
}

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

.legal-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.legal-footer-links a:hover {
    color: var(--brand-cyan, #00FFFF);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 16px 40px;
    }
    
    .legal-container {
        padding: 24px 20px;
    }
    
    .legal-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .legal-title {
        font-size: 16px;
    }
    
    .legal-section h2 {
        font-size: 10px;
    }
    
    .legal-body {
        font-size: 13px;
    }
    
    .legal-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-nav .btn {
        max-width: 100%;
        width: 100%;
    }
    
    .legal-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-footer-links {
        justify-content: center;
    }
}

/* Navbar adjustments for legal pages */
.legal-page .nav-header {
    background: rgba(10, 10, 18, 0.98);
}

/* Uppercase styling for legal content */
.legal-section ul li strong {
    text-transform: none;
}
