/* FansXpress — Legal & Help pages (Terms / Privacy / Help) premium layout */

.fx-legal-hero {
    position: relative;
    padding: 3.4rem 0 2.6rem;
    text-align: center;
    background:
        radial-gradient(1200px 300px at 50% -60px, rgba(209,0,84, .16), transparent 70%),
        linear-gradient(180deg, rgba(209,0,84, .06), transparent);
    border-bottom: 1px solid rgba(138, 150, 163, .16);
    overflow: hidden;
}

.fx-legal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(209,0,84, .05) 0 2px, transparent 2px 26px);
    opacity: .5;
    pointer-events: none;
}

.fx-legal-hero-badge {
    position: relative;
    display: inline-block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    background: var(--primary, #d10054);
    padding: .28rem .8rem;
    border-radius: 999px;
    margin-bottom: .9rem;
    box-shadow: 0 6px 18px rgba(209,0,84, .3);
}

.fx-legal-hero h1 {
    position: relative;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin: 0;
    letter-spacing: -.5px;
}

.fx-legal-updated {
    position: relative;
    margin: .7rem 0 0;
    font-size: .84rem;
    color: rgba(138, 150, 163, .95);
}

.fx-legal-wrap {
    padding-top: 2.2rem;
    padding-bottom: 3.5rem;
}

/* Table of contents */
.fx-legal-toc {
    position: sticky;
    top: 90px;
    padding: .3rem 0 0 .2rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.fx-legal-toc-title {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(138, 150, 163, .9);
    margin-bottom: .7rem;
    padding-left: .9rem;
}

.fx-legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid rgba(138, 150, 163, .2);
}

.fx-legal-toc li.is-sub a {
    padding-left: 1.7rem;
    font-size: .78rem;
    opacity: .85;
}

.fx-legal-toc a {
    display: block;
    padding: .34rem .9rem;
    margin-left: -2px;
    border-left: 2px solid transparent;
    color: rgba(120, 130, 145, .95);
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease;
}

.fx-legal-toc a:hover {
    color: var(--primary, #d10054);
}

.fx-legal-toc a.is-active {
    color: var(--primary, #d10054);
    border-left-color: var(--primary, #d10054);
}

/* Content typography */
.fx-legal-content {
    font-size: 1rem;
    line-height: 1.75;
    color: inherit;
    max-width: 760px;
}

.fx-legal-content h2 {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 2.4rem 0 .9rem;
    padding-top: .4rem;
    scroll-margin-top: 90px;
}

.fx-legal-content h2:first-child {
    margin-top: 0;
}

.fx-legal-content h3 {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 1.8rem 0 .7rem;
    scroll-margin-top: 90px;
}

.fx-legal-content h2 + p,
.fx-legal-content h3 + p {
    margin-top: 0;
}

.fx-legal-content p {
    margin: 0 0 1rem;
}

.fx-legal-content ul,
.fx-legal-content ol {
    margin: 0 0 1.1rem;
    padding-left: 1.3rem;
}

.fx-legal-content li {
    margin-bottom: .5rem;
}

.fx-legal-content a {
    color: var(--primary, #d10054);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(209,0,84, .3);
}

.fx-legal-content a:hover {
    border-bottom-color: var(--primary, #d10054);
}

.fx-legal-content strong {
    font-weight: 700;
}

/* Callout: any blockquote in the content becomes a highlighted note */
.fx-legal-content blockquote {
    margin: 1.3rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--primary, #d10054);
    background: rgba(209,0,84, .06);
    border-radius: .5rem;
}

.fx-legal-content blockquote p:last-child {
    margin-bottom: 0;
}

.fx-legal-foot {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(138, 150, 163, .2);
    color: rgba(138, 150, 163, .95);
    font-size: .92rem;
}

.fx-legal-foot a {
    color: var(--primary, #d10054);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .fx-legal-hero { padding: 2.4rem 0 1.9rem; }
    .fx-legal-wrap { padding-top: 1.5rem; }
    .fx-legal-content { font-size: .96rem; }
}
