/* PWA Legal Pages Styles */
/* Shared for user-web-portal-pwa legal pages — Obsidian Gold Theme */

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

html {
    scroll-behavior: smooth;
}

/* Body/background: use theme-dark.css (same as Home). No override here so all pages look identical. */
/* .bg-glow removed so Contact/Legal use same page background as rest of PWA. */

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 24px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        padding: 3rem 48px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Legal-page inner section header only — do NOT style the PWA nav bar (header.vvc-header) */
.legal-page-wrap .header,
.legal-standalone .header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #D4AF37, #B8962E);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.logo-icon.amber {
    background: linear-gradient(135deg, #D4AF37, #B8962E);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text.amber {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.update-date {
    color: #808080;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* Policy Card */
.policy-card {
    background: rgba(20, 20, 20, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    mix-blend-mode: difference;
}

h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F0F0F0;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid #D4AF37;
    position: relative;
    mix-blend-mode: difference;
}

h2.amber {
    border-left-color: #D4AF37;
}

h2::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #D4AF37, #B8962E);
    border-radius: 2px;
}

h2.amber::before {
    background: linear-gradient(180deg, #D4AF37, #F4D03F);
}

p {
    color: #C0C0C0;
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #C0C0C0;
}

li {
    margin-bottom: 0.75rem;
    position: relative;
}

li::marker {
    color: #D4AF37;
}

li.amber::marker {
    color: #D4AF37;
}

strong {
    color: #F0F0F0;
    font-weight: 600;
}

a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.2s;
}

a.amber {
    color: #D4AF37;
}

a:hover {
    color: #F4D03F;
    text-decoration: underline;
}

a.amber:hover {
    color: #F4D03F;
}

/* Warning Box */
.warning-box {
    background: rgba(239, 68, 68, 0.08);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.warning-box .icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.warning-box p {
    margin: 0;
    color: #fca5a5;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #A0A0A0;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: none;
    transition: all 0.2s;
}

.footer-nav a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-nav a.amber-hover:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
}

/* ============================================
   Universal Footer — Obsidian Gold
   ============================================ */
.legal-page-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    background: #020617;
    padding: 2rem 1.5rem;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #A0A0A0;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social-icons a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    transform: translateY(-2px);
}

.footer-social-icons svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-studio-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-studio-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #A0A0A0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-studio-logo-link:hover {
    color: #D4AF37;
}

.footer-studio-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-links-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links-row a {
    color: #A0A0A0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-row a:hover {
    color: #D4AF37;
}

.footer-social {
    display: inline-flex;
    gap: 16px;
}

.footer-social a {
    color: #808080;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-social a:hover {
    color: #D4AF37;
}

.footer-copy {
    color: #808080;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.footer-support {
    color: #808080;
    font-size: 0.75rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

.footer-support a {
    color: #D4AF37;
    text-decoration: none;
}

.footer-support a:hover {
    text-decoration: underline;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 2rem;
    color: #808080;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 2rem 1rem;
    }

    .policy-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
}
