/* Dracula Color Palette */
        :root {
            --background: #282a36;
            --current-line: #44475a;
            --foreground: #f8f8f2;
            --comment: #6272a4;
            --cyan: #8be9fd;
            --green: #50fa7b;
            --orange: #ffb86c;
            --pink: #ff79c6;
            --purple: #bd93f9;
            --red: #ff5555;
            --yellow: #f1fa8c;
        }

        html {
            scroll-padding-top: 90px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: var(--foreground);
            margin: 0;
            padding: 0;
            background-color: var(--background);
            overflow-x: hidden; /* NEW: Prevent horizontal scrolling */
        }

        body.page-privacy {
            position: relative;
        }
        body.page-privacy::before {
            content: '';
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: url('images/privacypolicy.jpg') no-repeat center center;
            background-size: cover;
            z-index: -1;
            transform: scale(var(--bg-zoom-scale, 1));
            transition: transform 0.1s linear;
        }
        
        /* NEW: General rule for better responsive embedded content */
        iframe {
            max-width: 100%;
        }
        
        h1, h2 {
            color: var(--purple);
            padding-bottom: 10px;
            margin-bottom: 2rem;
            margin-top: 2rem;
        }

        h1 {
           font-size: 3.5rem;
           color: var(--cyan);
           border: none;
           margin-top: 0;
           text-align: center;
        }

        h2 {
            font-size: 1.5rem;
            color: var(--green);
            margin-bottom: 1rem;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: 90px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        
        /* NEW: Mobile navigation toggle button */
        .nav-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 1rem;
            z-index: 1001;
        }

        .nav-toggle i {
            color: var(--foreground);
            font-size: 1.75rem;
        }

        nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            background-color: rgba(40, 42, 54, 0.5);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(248, 248, 242, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
            border-radius: 50px;
            padding: 0.75rem 2rem;
            transition: transform 0.3s ease-in-out;
        }

        nav a {
            color: var(--foreground);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
        }

        nav a:hover, nav a.active {
            background-color: var(--purple);
            color: var(--background);
        }

        .glass-box {
            background-color: rgba(40, 42, 54, 0.6); /* Slightly more opaque for readability */
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border-radius: 16px;
            border: 1px solid rgba(248, 248, 242, 0.1);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
            padding: 2.5rem 3.5rem;
            width: 80%;
            max-width: 1000px;
            text-align: left;
        }

        .full-page-section {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 4rem 2rem;
            box-sizing: border-box;
        }
        
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .show {
            opacity: 1;
            transform: translateY(0);
        }
        
        footer { 
            background-color: #11131a; 
            color: #ffffff; 
            padding: 3rem 1.5rem; 
            text-align: center; 
        }
        .footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; max-width: 1200px; margin: 0 auto; }
        .footer-section { flex: 1; min-width: 220px; margin-bottom: 1.5rem; text-align: left; }
        .footer-section h3 { color: #ffffff; margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: 0.5px; padding-bottom: 0;}
        .footer-section p { font-size: 0.95rem; line-height: 1.7; color: #d8d8e2; }
        .footer-section ul { list-style: none; padding: 0; }
        .footer-section ul li { margin-bottom: 0.5rem; }
        .footer-section ul li a, .footer-section .social a { 
            color: #c3cffc; 
            text-decoration: none; 
            transition: color 0.2s ease; 
        }
        .footer-section ul li a:hover, .footer-section .social a:hover { color: #ffffff; }
        .footer-section .social a { display: inline-block; margin: 0 0.5rem; font-size: 1rem; }
        .footer-bottom { margin-top: 2rem; padding-top: 1rem; font-size: 0.85rem; color: #a0a2b1; }
        
        /* NEW: Container to control the visitor counter widget */
        .visitor-counter {
            margin-top: 1rem;
            max-width: 100%;
            overflow-x: auto;
            text-align: center;
        }

        .card-socials { 
            display: flex; 
            gap: 1.25rem; 
            align-items: center; 
            flex-wrap: wrap;
        }

        .social-icon { 
            color: var(--background); 
            background-color: var(--cyan); 
            width: 40px; 
            height: 40px; 
            border-radius: 50%; 
            text-decoration: none; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            font-size: 1.2rem; 
            transition: background-color 0.3s ease, transform 0.3s ease; 
            position: relative;
        }

        .social-icon::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            border-radius: 50%;
            padding: 2px;
            background: linear-gradient(45deg, var(--cyan), var(--purple), var(--green), var(--pink));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }
        .social-icon:hover { background-color: var(--green); transform: translateY(-3px) scale(1.05); }

        /* --- Loading Overlay Styles --- */
        #loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--background);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
            pointer-events: none;
        }

        .loader-spinner {
            width: 60px;
            height: 60px;
            border: 5px solid var(--current-line);
            border-top-color: var(--purple);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* --- NEW: MOBILE OPTIMIZATIONS --- */
        @media (max-width: 768px) {
            body {
                background-attachment: scroll;
            }
            html, body {
    overflow-x: hidden;
}
            header {
                justify-content: flex-end;
                padding: 0 1rem;
            }

            .nav-toggle {
                display: block;
            }

            nav {
                position: fixed;
                inset: 0 0 0 30%;
                flex-direction: column;
                padding: min(20vh, 10rem) 2rem;
                gap: 2rem;
                transform: translateX(100%);
                border-radius: 0;
                background-color: rgba(40, 42, 54, 0.9);
                backdrop-filter: blur(1rem);
            }
            
            nav[data-visible="true"] {
                transform: translateX(0%);
            }

            .full-page-section {
                padding: 4rem 1rem;
                min-height: auto;
            }

            .glass-box {
                width: 100%;
                padding: 1.5rem;
            }

            h1 {
                font-size: 2.25rem;
            }
            h2 {
                font-size: 1.25rem;
            }
        }