/* ============================================
   PAGE-PRIVACY.CSS — Privacy, Terms, Cookies
   ============================================ */

/* ── Hero ── */
.priv-hero {
    text-align: center;
    padding: 60px 0 40px;
}
.priv-hero .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.priv-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.priv-subtitle {
    font-size: 1rem;
    color: var(--alpha-white-50);
    margin: 0 0 16px;
    line-height: 1.6;
}
.priv-updated {
    font-size: 0.78rem;
    color: var(--alpha-purple-60);
    font-weight: 500;
}

/* ── Content ── */
.priv-content {
    padding: 0 0 80px;
}
.priv-content > .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Tabs ── */
.priv-tabs {
    display: flex;
    gap: 4px;
    background: var(--alpha-white-3);
    border: 1px solid var(--alpha-white-6);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 36px;
}
.priv-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--alpha-white-45);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.priv-tab:hover {
    color: var(--alpha-white-70);
    background: var(--alpha-white-4);
}
.priv-tab.active {
    color: #fff;
    background: var(--alpha-purple-20);
    border: 1px solid var(--alpha-purple-30);
}

/* ── Panels ── */
.priv-panel {
    display: none;
}
.priv-panel.active {
    display: block;
    animation: privFadeIn 0.3s ease;
}
@keyframes privFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Sections ── */
.priv-section {
    margin-bottom: 36px;
}
.priv-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--alpha-white-6);
}
.priv-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--alpha-white-85);
    margin: 0 0 10px;
}
.priv-section p {
    font-size: 0.88rem;
    color: var(--alpha-white-55);
    line-height: 1.7;
    margin: 0 0 12px;
}
.priv-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.priv-section ul li {
    font-size: 0.85rem;
    color: var(--alpha-white-50);
    line-height: 1.7;
    padding: 4px 0 4px 20px;
    position: relative;
}
.priv-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--alpha-purple-50);
}
.priv-section a {
    color: var(--twitch-purple);
    text-decoration: none;
    transition: color 0.2s;
}
.priv-section a:hover {
    color: var(--neon-cyan);
}

/* ── Cards ── */
.priv-card {
    background: var(--alpha-white-2);
    border: 1px solid var(--alpha-white-6);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 14px;
}
.priv-card h3 {
    margin: 0 0 8px;
}
.priv-card p {
    margin: 0 0 10px;
}
.priv-card code {
    background: var(--alpha-purple-12);
    color: #c4b5fd;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ── Contact box ── */
.priv-contact-box {
    background: var(--alpha-purple-6);
    border: 1px solid var(--alpha-purple-15);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 12px;
}
.priv-contact-box p {
    margin: 0 0 4px;
    font-size: 0.85rem;
}
.priv-contact-box p:last-child {
    margin: 0;
}

/* ── Warning box ── */
.priv-warning-box {
    background: rgba(248,113,113,0.08);
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.88rem;
    color: var(--alpha-white-60);
    line-height: 1.7;
    margin-bottom: 16px;
}
.priv-warning-box strong {
    color: #f87171;
}
.priv-warning-box a {
    color: #f87171;
}

/* ── Table ── */
.priv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 0.83rem;
}
.priv-table th {
    text-align: left;
    color: var(--alpha-white-60);
    font-weight: 600;
    padding: 10px 14px;
    border-bottom: 1px solid var(--alpha-white-8);
    background: var(--alpha-white-2);
    white-space: nowrap;
}
.priv-table td {
    color: var(--alpha-white-45);
    padding: 10px 14px;
    border-bottom: 1px solid var(--alpha-white-4);
    line-height: 1.5;
}
.priv-table-sm {
    font-size: 0.8rem;
}
.priv-table-sm th,
.priv-table-sm td {
    padding: 8px 12px;
}

/* ── Rights grid ── */
.priv-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.priv-right {
    background: var(--alpha-white-2);
    border: 1px solid var(--alpha-white-6);
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
}
.priv-right-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.priv-right h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--alpha-white-70);
    margin: 0 0 6px;
}
.priv-right p {
    font-size: 0.76rem;
    color: var(--alpha-white-40);
    line-height: 1.5;
    margin: 0;
}
.priv-rights-note {
    font-size: 0.82rem;
    color: var(--alpha-white-40);
    line-height: 1.6;
}

/* ── Reset cookies button ── */
.priv-reset-cookies-btn {
    background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.25);
    color: #f87171;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 8px;
}
.priv-reset-cookies-btn:hover {
    background: rgba(248,113,113,0.2);
    border-color: rgba(248,113,113,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .priv-title {
        font-size: 1.6rem;
    }
    .priv-tabs {
        flex-direction: column;
    }
    .priv-rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .priv-table {
        font-size: 0.78rem;
    }
    .priv-table th,
    .priv-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .priv-hero {
        padding: 40px 0 28px;
    }
    .priv-rights-grid {
        grid-template-columns: 1fr;
    }
    .priv-table-sm th:last-child,
    .priv-table-sm td:last-child {
        display: none;
    }
}
