* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d1b0d 100%);
    color: #ccc;
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

.legal-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.legal-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 207, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(0, 207, 255, 0.1);
    animation: card-fade-in 0.6s ease-out forwards;
}

@keyframes card-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, #ffffff, #00cfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h2 {
    color: #00cfff;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 3px solid #00cfff;
    padding-left: 10px;
}

.legal-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.back-link {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 12px 24px;
    background: linear-gradient(45deg, #00cfff, #00a3ff);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 207, 255, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00cfff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00a3ff;
}
