﻿/* =========================================================
   WORLDS TCG - LEGAL PAGES
   ========================================================= */

.legal-page,
.legal-page * {
    box-sizing: border-box;
}

.legal-page {
    width: 100%;
    min-height: 100dvh;
    padding: clamp(28px, 4vw, 60px) clamp(16px, 5vw, 70px) 80px;
    background: radial-gradient( circle at 12% 0%, rgba(244,196,48,.045), transparent 25% ), #050505;
    color: #f5f5f5;
}

.legal-shell {
    width: min(100%, 1050px);
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.legal-header {
    position: relative;
    padding: clamp(26px, 4vw, 44px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: radial-gradient( circle at 0% 0%, rgba(244,196,48,.1), transparent 35% ), #090a0c;
}

    .legal-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 5%;
        width: 230px;
        height: 2px;
        background: linear-gradient( 90deg, transparent, #f4c430, transparent );
    }

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.45);
    font-size: .64rem;
    font-weight: 750;
    text-decoration: none;
    transition: color .17s ease, transform .17s ease;
}

    .legal-back svg {
        width: 14px;
        height: 14px;
    }

    .legal-back:hover {
        color: #f4c430;
        transform: translateX(-2px);
    }

.legal-kicker {
    display: block;
    color: #f4c430;
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.legal-header h1 {
    max-width: 780px;
    margin: 9px 0 15px;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.045em;
}

.legal-header p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: .76rem;
    line-height: 1.7;
}

.legal-update {
    display: inline-block;
    margin-top: 25px;
    padding: 6px 8px;
    border: 1px solid rgba(244,196,48,.14);
    border-radius: 6px;
    background: rgba(244,196,48,.025);
    color: rgba(244,196,48,.65);
    font-size: .52rem;
    font-weight: 750;
}

/* =========================================================
   CONTENT
   ========================================================= */

.legal-content {
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 16px;
    overflow: hidden;
    background: #090a0c;
}

.legal-section {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 18px;
    padding: 28px clamp(20px, 3.5vw, 36px);
    border-bottom: 1px solid rgba(255,255,255,.055);
}

    .legal-section:last-child {
        border-bottom: 0;
    }

.legal-number {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244,196,48,.15);
    border-radius: 8px;
    background: rgba(244,196,48,.035);
    color: rgba(244,196,48,.7);
    font-size: .53rem;
    font-weight: 900;
}

.legal-section > div {
    min-width: 0;
}

.legal-section h2 {
    margin: 3px 0 13px;
    color: rgba(255,255,255,.9);
    font-size: 1.05rem;
    font-weight: 800;
}

.legal-section p {
    margin: 0;
    color: rgba(255,255,255,.48);
    font-size: .72rem;
    line-height: 1.75;
}

    .legal-section p + p {
        margin-top: 12px;
    }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
    .legal-page {
        padding: 16px 12px 50px;
    }

    .legal-header {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .legal-back {
        margin-bottom: 24px;
    }

    .legal-content {
        border-radius: 14px;
    }

    .legal-section {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 23px 20px;
    }
}
