body {
    background: var(--main-alt-bg);
}

/* ------------------------------------ */
/*               SECTION                */
/* ------------------------------------ */
@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-wrapper {
    width: min(900px, 90vw);
    margin: 40px auto 80px;
    padding: 2.5rem;

    background: linear-gradient(
        180deg,
        rgba(22,22,22,0.95),
        rgba(22,22,22,0.75)
    );

    border-radius: 1.2rem;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);

    color: var(--text-color);

    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease-out forwards;
}

.legal-wrapper h3,
.legal-wrapper h4,
.legal-wrapper h5 {
    font-size: 1rem;
    color: var(--info-color);
    margin-top: 1.8rem;
}

.legal-wrapper p {
    line-height: 1.65;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-wrapper strong {
    color: var(--logo-color);
    font-weight: 500;
}

.legal-wrapper a {
    color: var(--info-color);
    text-decoration: underline;
    transition: color 0.25s ease;
}

.legal-wrapper a:hover {
    color: var(--logo-color);
}

.legal-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.legal-wrapper th {
    color: var(--logo-color);
    text-align: left;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-wrapper td {
    padding: 0.6rem 1rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

@media (max-width: 768px) {
    header {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 1rem;
    }

    .icons a {
        display: none;
    }

    .btn {
        width: 80%;
    }

    .legal-wrapper {
        padding: 1.8rem;
    }

    .legal-wrapper h1 {
        font-size: 1.5rem;
    }

    .legal-wrapper p {
        font-size: 0.9rem;
    }

    th {
        display: none;
    }
}