/* ==========================================================================
   GOLDPOOL COFFEE - LEGAL PAGES (TERMS OF SERVICE & PRIVACY POLICY)
   Scoped Per-Page Stylesheet
   ========================================================================== */

.legal-page-wrapper {
    background: #000000;
    min-height: 100vh;
    color: #E2E8F0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* --- CINEMATIC LEGAL HERO --- */
.legal-hero-section {
    position: relative;
    padding: 150px 1.5rem 4.5rem 1.5rem;
    text-align: center;
    background: radial-gradient(circle at 50% 15%, rgba(212, 175, 55, 0.16) 0%, rgba(8, 8, 12, 0.98) 75%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
}

.legal-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/goldpool_emblem_transparent.png') center -30px / 380px no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

.legal-hero-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.legal-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.legal-hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #CBD5E1;
    max-width: 680px;
    margin: 0 auto 1.75rem auto;
}

.legal-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.legal-hero-section .hero-scroll-indicator {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 2rem auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 3 !important;
}

.legal-hero-section .hero-scroll-indicator:hover {
    transform: none !important;
}
    font-size: 0.84rem;
    color: #94A3B8;
    font-weight: 600;
    flex-wrap: wrap;
}

.legal-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- MAIN DOCUMENT CONTAINER --- */
.legal-content-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem 1.5rem;
    position: relative;
    z-index: 2;
}

.legal-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3.5rem;
    justify-content: center;
}

.legal-nav-pill {
    background: #0E0E12;
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #CBD5E1;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.legal-nav-pill:hover {
    border-color: var(--gold);
    color: #FFFFFF;
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-2px);
}

/* --- LEGAL SECTION CARDS --- */
.legal-card {
    background: linear-gradient(165deg, rgba(17, 20, 27, 0.95) 0%, rgba(10, 13, 20, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 2.75rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    scroll-margin-top: 130px;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.legal-section-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(212, 175, 55, 0.15);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.3px;
}

.legal-card p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #D1D5DB;
    margin-bottom: 1.25rem;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.legal-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #E2E8F0;
}

.legal-card li i {
    color: var(--gold);
    margin-top: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Callout Highlights */
.legal-callout-box {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-callout-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.legal-callout-text {
    font-size: 0.93rem;
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .legal-hero-section {
        padding: 120px 1rem 3rem 1rem;
    }
    .legal-content-container {
        padding: 2.5rem 1rem 4rem 1rem;
    }
    .legal-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    .legal-section-title {
        font-size: 1.3rem;
    }
}
