﻿/* ============================================================
   Legal / static content pages (Privacy, Terms, Responsible
   Gaming + future policy pages). Scoped to .privacy_policy —
   matches the home-page tpm glass-card design system:
   Poppins, glass gradient cards, purple borders, gold accents.
   ============================================================ */

.privacy_policy {
    max-width: 960px;
    margin: 0 auto;
    padding: 44px 36px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(129, 0, 180, .18) 0%, rgba(25, 0, 20, .55) 100%);
    border: 1px solid rgba(174, 92, 255, .25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* Page title — gold/pink gradient underline bar */
.privacy_policy h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    padding-bottom: 16px;
    position: relative;
}

.privacy_policy h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff7300, #ff0095);
}

/* Section headings — gold left bar, soft glow strip */
.privacy_policy h2,
.privacy_policy h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 14px;
    padding: 10px 14px;
    border-left: 4px solid #ffb800;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, rgba(255, 183, 0, .10), transparent 65%);
}

/* Body text */
.privacy_policy p,
.privacy_policy p span,
.privacy_policy li,
.privacy_policy li span {
    color: #cfc3d6 !important;
    font-size: 16px;
    line-height: 1.85;
}

.privacy_policy p {
    margin-bottom: 14px;
}

.privacy_policy strong,
.privacy_policy b,
.privacy_policy strong span,
.privacy_policy b span {
    color: #fff !important;
    font-weight: 700;
}

/* Gold check bullet lists (same as home tpm cards) */
.privacy_policy ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 18px;
}

.privacy_policy ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.privacy_policy ul li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffb800;
    font-weight: 700;
}

.privacy_policy ol {
    padding-left: 22px;
    margin: 0 0 18px;
}

.privacy_policy ol li {
    margin-bottom: 10px;
}

/* Links — gold, underline on hover only */
.privacy_policy a,
.privacy_policy a span {
    color: #ffb800 !important;
    text-decoration: none;
    transition: color .25s ease;
}

.privacy_policy a:hover,
.privacy_policy a:hover span {
    color: #ffd166 !important;
    text-decoration: underline;
}

/* Reviewed-by line (guide/policy pages) */
.privacy_policy .tpm-reviewed {
    font-size: 13px !important;
    color: rgba(207, 195, 214, .75) !important;
    margin: 0 0 6px;
}

.privacy_policy .tpm-reviewed a {
    color: #ffb800 !important;
}

/* Tables (hand rankings etc.) */
.privacy_policy .table-wrap {
    overflow-x: auto;
    margin: 0 0 18px;
}

.privacy_policy table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
}

.privacy_policy th,
.privacy_policy td {
    border: 1px solid rgba(174, 92, 255, .25);
    padding: 10px 14px;
    font-size: 15px;
    color: #cfc3d6;
    text-align: left;
}

.privacy_policy th {
    color: #fff;
    font-weight: 700;
    background: rgba(129, 0, 180, .25);
}

/* Accordions inside content pages — match the homepage FAQ theme
   (Bootstrap's default white .accordion-item breaks the dark design) */
.privacy_policy .accordion-item {
    background: transparent;
    border: 0;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
}

.privacy_policy h2.accordion-header {
    margin: 0;
    padding: 0;
    border-left: 0;
    background: none;
    border-radius: 0;
}

.privacy_policy .accordion-button {
    color: #fff;
    background-color: #30192b;
    font-weight: 700;
    font-size: 20px;
    box-shadow: none;
}

.privacy_policy .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #510093;
    box-shadow: none;
}

.privacy_policy .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(174, 92, 255, .4);
}

.privacy_policy .accordion-button::after {
    background-image: url("../image/faq_down_arrow.svg");
}

.privacy_policy .accordion-button:not(.collapsed)::after {
    background-image: url("../image/faq_down_arrow.svg");
    transform: var(--bs-accordion-btn-icon-transform);
}

.privacy_policy .accordion-body {
    background: #30192b;
    color: #cfc3d6;
}

/* Mobile */
@media (max-width: 576px) {
    .privacy_policy {
        padding: 30px 18px;
    }

    .privacy_policy h1 {
        font-size: 27px;
    }

    .privacy_policy h2,
    .privacy_policy h3 {
        font-size: 19px;
    }
}
