/* ==========================================
   BOARD MART PRIVACY POLICY STYLESHEET
   Brand: PlayStation Hydizo Accent Colorway
   ========================================== */

/* Theme Variables (Default Dark Theme) */
:root {
    --bg-color: #0B0F19;
    --surface-color: #131929;
    --card-bg: #1A2238;
    --primary-color: #8B5CF6;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary-color: #EC4899;
    --secondary-glow: rgba(236, 72, 153, 0.4);
    --accent-neon: #00F0FF;
    --accent-glow: rgba(0, 240, 255, 0.3);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border-color: rgba(139, 92, 246, 0.15);
    --header-bg: rgba(11, 15, 25, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --transition-speed: 0.3s;
    --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Light Theme Variables */
body.light-theme {
    --bg-color: #F8FAFC;
    --surface-color: #FFFFFF;
    --card-bg: #FFFFFF;
    --primary-color: #7C3AED;
    --primary-glow: rgba(124, 58, 237, 0.2);
    --secondary-color: #DB2777;
    --secondary-glow: rgba(219, 39, 119, 0.2);
    --accent-neon: #0D9488;
    --accent-glow: rgba(13, 148, 136, 0.25);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-color: rgba(124, 58, 237, 0.12);
    --header-bg: rgba(248, 250, 252, 0.9);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-hero: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(219, 39, 119, 0.05) 100%);
}

/* Document Resets & Accessibility Rules */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ------------------------------------------
   NAVBAR SECTION
   ------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--border-color);
    z-index: 1000;
    transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.nav-container {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px var(--primary-glow));
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-accent {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
    padding: 6px 12px;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-support {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-support:hover {
    background: var(--primary-color);
    color: #FFF !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    background-color: rgba(139, 92, 246, 0.05);
}

/* ------------------------------------------
   HERO SECTION
   ------------------------------------------ */
.hero-section {
    position: relative;
    padding: 140px 24px 70px;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 100%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.12);
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.text-glow {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary-color);
}

/* ------------------------------------------
   LAYOUT SECTION
   ------------------------------------------ */
.page-container {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar & Table of Contents */
.sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 110px;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.toc-header i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.toc-header h2 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-link i {
    font-size: 0.7rem;
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
    transform: translateX(-5px);
}

.toc-link:hover {
    color: var(--primary-color);
    background-color: rgba(139, 92, 246, 0.03);
}

.toc-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

.toc-link.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(139, 92, 246, 0.06);
    border-left: 2px solid var(--primary-color);
}

.toc-link.active i {
    opacity: 1;
    transform: translateX(0);
}

/* ------------------------------------------
   CONTENT SECTIONS & CARDS
   ------------------------------------------ */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.card {
    background-color: var(--surface-color);
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg), 0 0 25px var(--border-color);
    border-color: rgba(139, 92, 246, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0.7;
}

.section-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.section-icon {
    font-size: 1.4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.section-body p {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.section-body strong {
    color: var(--text-primary);
}

.section-body ul, .section-body ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.section-body li {
    font-size: 0.98rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.section-body p:last-child {
    margin-bottom: 0;
}

/* Custom elements inside content cards */
.games-list {
    list-style: none !important;
    margin-left: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.games-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.games-list li i {
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 14px;
    display: inline-block;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Grid Table */
.grid-table {
    margin-top: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    background: rgba(139, 92, 246, 0.08);
}

.table-row.header .col {
    color: var(--text-primary);
    font-weight: 700;
}

.col {
    padding: 16px 20px;
    font-size: 0.92rem;
}

.font-semibold {
    font-weight: 600;
    color: var(--text-primary);
}

/* Provider Lists */
.provider-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.provider-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
}

.provider-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    font-size: 1.3rem;
}

.provider-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.provider-info p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

.provider-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.provider-info a:hover {
    text-decoration: underline;
}

/* Contact Cards */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-item p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Highlight text classes */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-cyan {
    color: var(--accent-neon);
}

/* ------------------------------------------
   FOOTER SECTION
   ------------------------------------------ */
.footer {
    background-color: var(--surface-color);
    border-top: 1.5px solid var(--border-color);
    padding: 48px 24px;
    margin-top: 80px;
    text-align: center;
    transition: background-color var(--transition-speed);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-brand-text {
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-copy {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-legal .divider {
    color: var(--border-color);
}

/* ------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ------------------------------------------ */

/* Tablet Screens (Max Width: 992px) */
@media (max-width: 992px) {
    .page-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar {
        display: none; /* Hide sticky sidebar on tablet and mobile */
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

/* Mobile Screens (Max Width: 768px) */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-brand .brand-text {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-link {
        display: none; /* Hide primary links, only keep toggle and support button */
    }

    .hero-section {
        padding: 120px 16px 50px;
    }

    .hero-badge {
        font-size: 0.75rem;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .card {
        padding: 24px;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .games-list {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .table-row.header {
        display: none; /* Hide standard headers in mobile cards */
    }

    .table-row {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }

    .col {
        padding: 4px 16px;
    }

    .col:first-child::before {
        content: 'Category: ';
        font-weight: 700;
        color: var(--text-primary);
    }

    .contact-card {
        grid-template-columns: 1fr;
    }
}
