body {
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(0deg, rgba(9,9,121,1) 0%, rgba(1,190,241,1) 25%, rgba(0,212,255,1) 44%, rgba(2,0,36,0.8491771708683473) 96%, rgba(2,0,36,1) 100%);
    font-family: Arial, sans-serif;
}

/* LEGAL PAGES (Privacy, Terms)*/

.legal-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.legal-container h1 {
    color: #667eea;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-container h2 {
    color: #764ba2;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.legal-container p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.legal-container ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-container li {
    color: #555;
    margin-bottom: 0.5rem;
}

.legal-container a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-container a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none !important;
}

.terms-buttons{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cancel-btn {
    background: #ff6b6b;
}

/* Footer disclaimer */
.legal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.disclaimer {
    color: #fff;
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    max-width: 900px;
    margin: 0 auto 0.5rem auto;
    line-height: 1.5;
}

.disclaimer strong {
    color: #ff6b6b;
}

.legal-links {
    font-size: 0.9rem;
}

.legal-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #01BEFF;
}

/* Responsive legal pages */
@media (max-width: 768px) {
    .legal-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .legal-container h2 {
        font-size: 1.5rem;
    }

    .disclaimer {
        font-size: 0.75rem;
    }

    .legal-footer {
        padding: 0.8rem 0.5rem;
    }

    .terms-buttons{
        display: flex;
        justify-content: center;
        text-align: center;
        gap: 2rem; 
        margin-top: 2rem;
    }

    .cancel-btn {
        background: #ff6b6b;
    }
}