/* ============================================================
   landing-theme.css
   Shared stylesheet for KickTheater's static info pages (About,
   Contact, FAQ, Terms, Privacy) and includes/site-head.php +
   includes/site-footer.php. Pulled from index.php's own theme so
   every page on the site looks and feels identical.
   ============================================================ */

        /* --- SELF-HOSTED FONTS --- */
        @font-face {
            font-family: 'Orbitron';
            font-style: normal;
            font-weight: 400;
            font-display: optional;
            src: url('font/orbitron/orbitron-latin-400-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Orbitron';
            font-style: normal;
            font-weight: 500;
            font-display: optional;
            src: url('font/orbitron/orbitron-latin-500-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Orbitron';
            font-style: normal;
            font-weight: 700;
            font-display: optional;
            src: url('font/orbitron/orbitron-latin-700-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Orbitron';
            font-style: normal;
            font-weight: 900;
            font-display: optional;
            src: url('font/orbitron/orbitron-latin-900-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 300;
            font-display: optional;
            src: url('font/poppins/poppins-latin-300-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 400;
            font-display: optional;
            src: url('font/poppins/poppins-latin-400-normal.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Poppins';
            font-style: normal;
            font-weight: 600;
            font-display: optional;
            src: url('font/poppins/poppins-latin-600-normal.woff2') format('woff2');
        }

        /* --- THEME & FONT DEFINITIONS --- */
        :root {
            /* Colors - High Energy Neon */
            --kick-green: #53fc18;
            --kick-green-glow: rgba(83, 252, 24, 0.7);
            --kick-green-dim: rgba(83, 252, 24, 0.15);
            --kick-green-flash: #aaff90;

            --bg-deep: #030305;
            --bg-panel: #0a0a0f;
            
            /* Modal Vars */
            --dark-bg: #0b0e11;
            --border-color: #24272c;
            --text-color: #efeff1;

            /* Tech Gradients */
            --bg-glass-panel: linear-gradient(180deg, rgba(15, 15, 20, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%);
            --bg-terminal: rgba(0, 0, 0, 0.6);

            /* Borders & Highlights */
            --glass-border: rgba(255, 255, 255, 0.08);
            --neon-border: rgba(83, 252, 24, 0.5);

            /* Text */
            --text-primary: #ffffff;
            --text-secondary: #bbbbbb;

            /* Fonts */
            --font-primary: 'Orbitron', sans-serif;
            --font-secondary: 'Poppins', sans-serif;

            /* Geometry - Tech Cut (Chamfered) */
            --clip-tech: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);

            /* Effects */
            --shadow-float: 0 10px 40px -10px rgba(0, 0, 0, 0.9);
            --shadow-neon: 0 0 10px var(--kick-green-dim), 0 0 20px rgba(83, 252, 24, 0.2);
            --transition-smooth: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        /* --- BASE & BACKGROUND --- */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-deep);
            color: var(--text-primary);
            font-family: var(--font-secondary);
            overflow-x: hidden;
            background-image: linear-gradient(rgba(5, 5, 10, 0.95), rgba(0, 0, 0, 1));
            background-size: cover;
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* CRT SCANLINE OVERLAY */
        body::after {
            content: " ";
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0px, rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
            z-index: 9999;
            pointer-events: none;
            opacity: 0.3;
        }

        /* --- KEYFRAME ANIMATIONS --- */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes live-pulse {
            0%,
            100% {
                box-shadow: 0 0 6px rgba(83, 252, 24, 0.7);
                opacity: 1;
            }

            50% {
                box-shadow: 0 0 12px rgba(83, 252, 24, 1);
                opacity: 0.6;
            }
        }

        /* --- HEADER --- */
        header {
            padding: 1.5rem 0;
            display: flex;
            justify-content: center;
            animation: fadeIn 0.8s ease-out;
            position: relative;
            z-index: 10;
        }

        .logo {
            height: 50px;
            width: auto;
            filter: drop-shadow(0 0 15px var(--kick-green-dim));
        }


        .btn {
            font-family: var(--font-primary);
            cursor: pointer;
            transition: var(--transition-smooth);
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            position: relative;
            clip-path: var(--clip-tech);
            border: none;
            text-decoration: none;
        }

        /* PRIMARY BUTTON (Solid Plasma) */
        .btn-primary {
            background: var(--kick-green);
            color: #000;
            font-weight: 900;
            padding: 0 2.5rem;
            height: 54px;
        }

        .btn-primary::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
            transition: 0.5s;
        }

        .btn-primary:hover {
            background: var(--kick-green-flash);
            box-shadow: 0 0 30px var(--kick-green-glow);
        }

        .btn-primary:hover::after {
            left: 100%;
        }

        .or-divider {
            display: flex;
            align-items: center;
            color: var(--text-secondary);
            margin: 2rem 0;
            font-family: var(--font-primary);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.9rem;
        }

        .or-divider::before,
        .or-divider::after {
            content: "";
            flex-grow: 1;
            height: 1px;
            background: var(--glass-border);
            margin: 0 1rem;
        }

        .secondary-action {
            text-align: center;
        }

        /* SECONDARY BUTTON (Hollow Tech) */
        .btn-secondary {
            background: rgba(83, 252, 24, 0.05);
            color: var(--kick-green);
            box-shadow: inset 0 0 0 1px rgba(83, 252, 24, 0.3);
            padding: 1rem 2rem;
            font-weight: 700;
            display: inline-flex;
        }

        .btn-secondary:hover {
            background: var(--kick-green);
            color: #000;
            box-shadow: 0 0 20px var(--kick-green-glow);
            transform: translateY(-3px);
        }


        /* --- REDESIGNED FOOTER --- */
        .site-footer {
            background: linear-gradient(180deg, var(--bg-panel) 0%, #000000 100%);
            border-top: 1px solid var(--glass-border);
            padding: 5rem 0 0 0;
            margin-top: 75px;
            color: #ffffff;
            position: relative;
            overflow: hidden;
        }
        
        /* Subtle glow at top of footer */
        .site-footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--kick-green), transparent);
            opacity: 0.5;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 3rem;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
        }

        .footer-brand p {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-top: 1.5rem;
            max-width: 300px;
        }

        .footer-logo-img {
            height: 40px;
            width: auto;
            opacity: 0.9;
        }

        .footer-heading {
            font-family: var(--font-primary);
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #fff;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
        
        .footer-heading::after {
            content: '';
            display: block;
            width: 30px;
            height: 2px;
            background: var(--kick-green);
            margin-top: 5px;
            box-shadow: 0 0 10px var(--kick-green);
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .footer-link:hover {
            color: var(--kick-green);
            transform: translateX(5px);
            text-shadow: 0 0 15px rgba(83, 252, 24, 0.4);
        }
        
        .footer-link svg {
            margin-right: 8px;
            width: 16px;
            height: 16px;
        }

        /* Social Icons */
        .footer-social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icon-btn {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            transition: all 0.3s ease;
            border-radius: 4px; /* Slight rounding */
            clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
        }

        .social-icon-btn:hover {
            background: var(--kick-green);
            color: #000;
            box-shadow: 0 0 20px rgba(83, 252, 24, 0.4);
            transform: translateY(-3px);
            border-color: var(--kick-green);
        }

        /* Bottom Bar */
        .footer-bottom {
            margin-top: 4rem;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding: 1.5rem 0;
            background: rgba(0,0,0,0.5);
            text-align: center;
        }

        .copyright {
            font-family: var(--font-primary);
            font-size: 0.75rem;
            color: #666;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        
        .copyright span {
            color: var(--kick-green);
        }

        /* Footer Responsive */
        @media (max-width: 992px) {
            .footer-container {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
        }

        @media (max-width: 600px) {
            .footer-container {
                grid-template-columns: 1fr;
                gap: 2.5rem;
                text-align: center;
            }
            
            .footer-brand {
                align-items: center;
            }
            
            .footer-heading::after {
                margin: 5px auto 0 auto; /* Center underline */
            }
            
            .footer-link:hover {
                transform: translateX(0); /* Disable shift on mobile center align */
                color: var(--kick-green);
            }
            
            .footer-social-icons {
                justify-content: center;
            }
        }

        /* --- MODAL STANDARDIZATION --- */
        .modal-overlay {
            display: none;
            align-items: center !important;
            justify-content: center !important;
            padding: 20px;
            box-sizing: border-box;
            background: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .modal-overlay.visible {
            display: flex !important;
        }

        .extension-modal,
        .contact-modal,
        .legal-modal {
            background: var(--dark-bg, #0b0e11);
            
            /* ADDED GREEN BORDER */
            border: 1px solid var(--kick-green);
            
            /* CLIPPED CORNERS */
            clip-path: var(--clip-tech);
            box-shadow: none;
            filter: drop-shadow(0 0 25px rgba(83, 252, 24, 0.3));
            
            color: var(--text-color, #efeff1);
            padding: 2.5rem;
            width: 100%;
            max-width: 850px;
            max-height: 85vh;
            overflow-y: auto;
            position: relative;
            font-family: var(--font-secondary);
            transform: scale(0.95);
            transition: transform 0.3s ease;
            box-sizing: border-box;
            margin: auto;
        }

        .modal-overlay.visible .extension-modal,
        .modal-overlay.visible .contact-modal,
        .modal-overlay.visible .legal-modal {
            transform: scale(1);
        }

        /* Custom Close Button */
        .close-modal-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: transparent;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 10;
        }
        .close-modal-btn:hover {
            color: var(--kick-green);
        }

        /* Specific Header Styling */
        .extension-modal h2,
        .legal-modal h2,
        .contact-modal h2 {
            font-family: var(--font-primary);
            color: var(--kick-green, #53fc18);
            text-shadow: 0 0 10px rgba(83, 252, 24, 0.8);
            margin: 0 0 2rem 0;
            text-align: center;
            font-size: 2rem;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 1px;
        }
        
        /* --- EXACT GREEN BAR & FADING BG STYLING FOR H3 --- */
        .modal-content-scroll h3 {
            color: #ffffff;
            font-family: var(--font-primary);
            font-size: 1.1rem;
            margin: 1.5rem 0 0.5rem 0;
            padding: 8px 12px;
            border-left: 3px solid var(--kick-green);
            background: linear-gradient(90deg, rgba(83, 252, 24, 0.1) 0%, transparent 100%);
            line-height: 1;
            text-transform: capitalize;
        }
        .modal-content-scroll h3:first-of-type {
            margin-top: 0;
        }

        /* --- PARAGRAPH STYLING --- */
        .modal-content-scroll p {
            color: #cccccc;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

        /* --- CUSTOM LIST BULLETS (ARROWS) --- */
        .modal-content-scroll ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 1rem;
        }
        
        .modal-content-scroll ul li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            color: #fff;
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        .modal-content-scroll ul li::before {
            content: '>'; 
            position: absolute;
            left: 0;
            color: var(--kick-green);
            font-weight: bold;
            font-family: monospace;
        }
        
        .modal-content-scroll ul li strong {
            color: #fff;
            font-weight: 700;
        }

        /* --- BROWSER EXTENSION MODAL --- */
        .extension-section {
            display: flex;
            align-items: center;
            gap: 25px;
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            text-align: left;
        }

        .extension-icon img {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
        }

        .extension-details h3 {
            margin: 0 0 5px 0;
            color: var(--kick-green);
            font-family: var(--font-primary);
            background: none;
            border: none;
            padding: 0;
        }

        .extension-details p {
            margin: 0 0 15px 0;
            line-height: 1.4;
            font-size: 0.95rem;
        }

        .contact-email a {
            color: var(--kick-green, #53fc18);
            font-weight: bold;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-email a:hover {
            color: #ffffff;
            text-decoration: underline;
        }


        /* --- TOP BAR STYLES --- */
        .top-uplink-bar {
            background: #000;
            border-bottom: 1px solid var(--neon-border);
            width: 100%;
            height: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 9999;
            overflow: hidden;
            font-family: var(--font-primary);
            flex-shrink: 0;
        }

        .top-uplink-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent 0%, rgba(83, 252, 24, 0.2) 50%, transparent 100%);
            animation: scan-line 4s infinite linear;
            pointer-events: none;
        }

        .uplink-content {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 0.75rem;
            letter-spacing: 1px;
            z-index: 2;
            color: #ffffff;
        }

        .uplink-status {
            color: var(--kick-green);
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
        }

        .status-dot-small {
            width: 6px;
            height: 6px;
            background: var(--kick-green);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--kick-green);
            animation: live-pulse 2s infinite;
        }

        .uplink-separator {
            color: #fff;
        }

        .uplink-link {
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            font-weight: 700;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .uplink-link:hover {
            color: var(--kick-green);
            text-shadow: 0 0 10px var(--kick-green-glow);
        }

        .uplink-arrow {
            font-size: 1.2rem;
            line-height: 0;
            margin-top: -3px;
        }

        @media (max-width: 600px) {
            .top-uplink-bar {
                font-size: 0.65rem;
            }
            .uplink-content {
                gap: 10px;
            }
        }

        /* --- STATIC INFO PAGES (About / Contact / FAQ / Terms / Privacy) ---
           Reuses the exact same card look the old on-page modals used
           (.legal-modal / .contact-modal / .modal-content-scroll are
           already defined above), just laid out as a normal page section
           instead of a fixed-position overlay. */
        .legal-page-wrap {
            flex: 1;
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
            padding: 2.5rem 1.5rem 4rem;
            box-sizing: border-box;
            animation: fadeIn 0.6s ease-out;
        }

        .legal-page-wrap .legal-modal,
        .legal-page-wrap .contact-modal {
            position: static;
            transform: none;
            width: 100%;
            max-width: none;
            max-height: none;
            overflow: visible;
            margin: 0;
        }

        .legal-page-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--text-secondary);
            text-decoration: none;
            font-family: var(--font-primary);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1.5rem;
            transition: var(--transition-smooth);
        }

        .legal-page-back:hover {
            color: var(--kick-green);
            text-shadow: 0 0 10px var(--kick-green-glow);
        }

        @media (max-width: 560px) {
            .legal-page-wrap {
                padding: 1.75rem 1rem 3rem;
            }

            .legal-page-wrap .legal-modal,
            .legal-page-wrap .contact-modal {
                padding: 1.75rem;
            }
        }

        /* --- FAQ --- */
        .faq-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .faq-item {
            border: 1px solid var(--glass-border);
            background: rgba(255, 255, 255, 0.02);
            margin-bottom: 0.75rem;
            clip-path: var(--clip-tech);
        }

        .faq-question {
            font-family: var(--font-primary);
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            padding: 1rem 1.25rem;
            cursor: pointer;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            transition: var(--transition-smooth);
        }

        .faq-item:hover .faq-question {
            color: var(--kick-green);
        }

        .faq-question::-webkit-details-marker {
            display: none;
        }

        .faq-question::after {
            content: '+';
            font-family: var(--font-primary);
            font-size: 1.3rem;
            color: var(--kick-green);
            flex-shrink: 0;
            transition: transform 0.25s ease;
        }

        .faq-item[open] .faq-question::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            padding: 0 1.25rem 1.1rem;
        }

        .faq-answer p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            line-height: 1.65;
            margin: 0;
        }

        .faq-answer a {
            color: var(--kick-green);
        }

        .faq-cta {
            margin-top: 2rem;
            padding: 1.75rem;
            text-align: center;
            background: rgba(83, 252, 24, 0.05);
            border: 1px solid var(--neon-border);
            clip-path: var(--clip-tech);
        }

        .faq-cta h3 {
            font-family: var(--font-primary);
            color: var(--kick-green);
            font-size: 1.1rem;
            margin: 0 0 0.5rem 0;
            text-transform: uppercase;
        }

        .faq-cta p {
            color: var(--text-secondary);
            font-size: 0.92rem;
            margin: 0 0 1.25rem 0;
        }

        .faq-cta-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        @media (max-width: 560px) {
            .faq-cta-actions .btn {
                width: 100%;
            }
        }
