.legal-page {
    position: relative;
    overflow: hidden;
    color: #e9eef9;
    background: radial-gradient(circle at top right, rgba(129, 134, 213, 0.35), transparent 55%),
    linear-gradient(180deg, #141d2a 0%, #1d2d42 65%, #273f55 100%);
}

.legal-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(245, 135, 93, 0.08), rgba(129, 134, 213, 0.1));
    pointer-events: none;
}

.legal-hero,
.legal-timeline,
.legal-page .row {
    position: relative;
    z-index: 1;
}

.legal-chip {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    color: #141d2a;
    background: linear-gradient(90deg, #f5875d, #ffd2c2);
}

.legal-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff, #f5875d, #ffffff);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 8s ease-in-out infinite;
}

.legal-subtitle {
    max-width: 760px;
    margin: 0.8rem auto 0;
    color: #d6deeb;
    font-size: 1.14rem;
}

.legal-card {
    background: rgba(17, 27, 39, 0.7);
    border: 1px solid rgba(129, 134, 213, 0.35);
    border-radius: 18px;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    backdrop-filter: blur(4px);
}

.legal-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 135, 93, 0.65);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.legal-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
    color: #f9a183;
    text-shadow: 0 0 18px rgba(245, 135, 93, 0.2);
}

.legal-card p {
    margin: 0;
    color: #dbe4f2;
    font-size: 1.08rem;
    line-height: 1.7;
}

.legal-timeline {
    display: grid;
    gap: 1rem;
}


.legal-card ul {
    margin: 0.45rem 0 0.85rem;
    padding-left: 1.2rem;
}

.legal-card li {
    margin-bottom: 0.35rem;
    color: #dbe4f2;
    font-size: 1.05rem;
}

.legal-card a {
    color: #f9c2ae;
    word-break: break-word;
}

.legal-card a:hover {
    color: #ffd8c8;
}
@keyframes shimmer {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 1rem;
    }

    .legal-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .legal-subtitle {
        font-size: 1.02rem;
    }

    .legal-card p,
    .legal-card li {
        font-size: 1rem;
    }
}
