/* ==============================================
   SA Movies — Legal Pages Stylesheet
   Standalone CSS for Privacy, Terms, Cookies, Contact
   ============================================== */

/* --- Variables (same as main site) --- */
:root {
    --bg-primary: #0a0101;
    --bg-secondary: #140202;
    --text-primary: #ffffff;
    --text-secondary: #ffcccc;

    --accent-color: #ff000d;
    --accent-glow: #ff3333;
    --accent-secondary: #8a0000;
    --accent-gradient: linear-gradient(135deg, #ff000d 0%, #990000 100%);

    --glass-bg: rgba(40, 0, 0, 0.6);
    --glass-border: rgba(255, 0, 13, 0.3);

    --font-main: 'Outfit', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Body --- */
body {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 0%, #300000 0%, var(--bg-primary) 70%);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Ambient Glows (hidden on legal pages) --- */
.ambient-glow {
    display: none;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* --- Navbar — Solid Black Sticky Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    backdrop-filter: none;
}

/* --- Logo — Clean Flat Text --- */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
    background: none;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

.logo .highlight,
.highlight {
    color: var(--accent-color);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

/* ============================== */
/* --- Footer --- */
/* ============================== */

.site-footer {
    padding: 3rem 6%;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to top, #0a0101, transparent);
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ============================== */
/* --- Legal Pages (Privacy, Terms, Cookies, Contact) --- */
/* ============================== */

.legal-page {
    padding-top: 80px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.legal-container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 4rem 5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.legal-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.legal-section p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0;
}

.legal-section ul li {
    color: #b0b0b0;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}

.legal-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.legal-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================== */
/* --- Contact Cards Grid --- */
/* ============================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 9, 20, 0.1);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: rgba(229, 9, 20, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.contact-card p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 20px;
}

.contact-link:hover {
    background: rgba(229, 9, 20, 0.15);
    border-color: var(--accent-color);
}

/* ============================== */
/* --- Responsive --- */
/* ============================== */

@media (max-width: 768px) {
    .legal-page {
        padding-top: 70px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-container {
        padding: 2rem 1.5rem;
    }

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

    .footer-links {
        gap: 1rem;
    }

    .navbar {
        padding: 0.6rem 1rem;
    }
}