/* =====================================================
   UCC Fight — Legal Pages CSS
   Design tokens: dark theme, accent #c47a10
   ===================================================== */

:root {
    --accent:      #c47a10;
    --accent-dark: #a3650d;
    --bg:          #0a0a0a;
    --surface:     #141414;
    --surface2:    #1c1c1c;
    --border:      #2a2a2a;
    --text:        #ffffff;
    --text-muted:  #999999;
}

/* ─── Reset & Base ─────────────────────────────────── */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
}

/* ─── Legal Header ──────────────────────────────────── */

.legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--surface);
}

/* ─── Language Switcher ────────────────────────────── */

.lang-switcher {
    display: inline-flex;
    align-items: stretch;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.lang-switcher-item {
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    line-height: 1.2;
}

.lang-switcher-item:hover {
    color: var(--text);
    text-decoration: none;
}

.lang-switcher-item.is-active {
    background: var(--accent, #e11d48);
    color: #fff;
    cursor: default;
}

.lang-switcher-item.is-active:hover {
    color: #fff;
}

.legal-header-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}

.legal-header-logo:hover {
    text-decoration: none;
    color: var(--accent);
}

.legal-header-logo img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

/* ─── Legal Content ─────────────────────────────────── */

.legal-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

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

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

/* ─── Support Card ──────────────────────────────────── */

.support-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.support-card-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.support-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.support-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.support-card-body a.btn-support {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s;
}

.support-card-body a.btn-support:hover {
    background-color: var(--accent-dark);
    text-decoration: none;
}

/* ─── FAQ ───────────────────────────────────────────── */

.faq-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.975rem;
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.15s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question .faq-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.25rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer {
    display: block;
}

/* ─── Legal Footer ──────────────────────────────────── */

.legal-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-footer a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ─── Responsive ────────────────────────────────────── */

@media (max-width: 600px) {
    .legal-content h1 {
        font-size: 1.6rem;
    }

    .legal-content {
        padding: 2rem 1.25rem 3rem;
    }

    .support-card {
        flex-direction: column;
    }
}
