:root {
            --background: #282a36;
            --current-line: #44475a;
            --foreground: #f8f8f2;
            --comment: #f8f8f2;
            --cyan: #8be9fd;
            --green: #50fa7b;
            --orange: #ffb86c;
            --pink: #ff79c6;
            --purple: #bd93f9;
            --red: #ff5555;
            --yellow: #f1fa8c;
        }

        html, body {
            height: 100%;
            margin: 0;
            overflow-x: hidden;
            overflow-y: hidden;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: var(--foreground);
        }

        .background-zoom-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: var(--background) url('images/home.jpg') no-repeat center center fixed;
            background-size: cover;
            transform: scale(var(--bg-zoom-scale, 1));
            transition: transform 0.1s linear;
        }
        
        h1, h2, h3 {
            margin-top: 0;
        }
        
        iframe {
            max-width: 100%;
        }

        header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: 90px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        
        .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);
        }

        .split-container {
            display: flex;
            height: calc(100vh - 90px);
        }

        .left-pane {
            flex-basis: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 3rem;
            box-sizing: border-box;
            text-align: center;
        }

        .right-pane {
            flex-basis: 50%;
            overflow-y: auto;
            padding: 3rem;
            box-sizing: border-box;
        }

        .right-pane::-webkit-scrollbar { width: 10px; }
        .right-pane::-webkit-scrollbar-track { background: var(--background); }
        .right-pane::-webkit-scrollbar-thumb { background: var(--current-line); border-radius: 5px; }
        .right-pane::-webkit-scrollbar-thumb:hover { background: var(--comment); }

        .title-box {
            /* Apply glassmorphism blur here */
            background-color: rgba(40, 42, 54, 0.5); /* Semi-transparent background */
            -webkit-backdrop-filter: blur(8px); /* For Safari */
            backdrop-filter: blur(8px); /* Standard blur effect */
            
            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;
        }

        .title-box h1 {
            font-size: 3.5rem;
            color: var(--cyan);
            border: none;
            margin: 0 0 1rem 0;
        }
        
        .title-box p {
            font-size: 1.25rem;
            color: var(--comment);
            max-width: 500px;
            line-height: 1.6;
            margin: 0;
        }

        .info-block {
            background-color: var(--current-line);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
            margin-bottom: 2rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            border-left: 5px solid transparent;
            background: linear-gradient(var(--current-line), var(--current-line)) padding-box,
                        linear-gradient(to bottom, var(--cyan), var(--green), var(--pink), var(--purple)) border-box;
        }

        .info-block:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.4);
        }

        .info-block h3 { color: var(--green); font-size: 1.5rem; margin-bottom: 0.5rem; }
        .info-block p { line-height: 1.6; margin-bottom: 1.5rem; }
        .info-block a {
            display: inline-block;
            text-decoration: none;
            color: var(--background);
            background-color: var(--purple);
            padding: 0.6rem 1.5rem;
            border-radius: 5px;
            font-weight: bold;
            transition: opacity 0.2s ease;
        }
        .info-block a:hover { opacity: 0.85; }
        
        footer { 
            background-color: #11131a; 
            color: #ffffff; 
            padding: 2.5rem 2rem; 
            text-align: center;
            margin-top: 2rem;
            border-radius: 12px;
        }
        .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; }
        
        .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);
            }
        }

        @media (max-width: 768px) {
            html, body {
                height: auto;
                overflow-y: auto;
            }
            
            .background-zoom-container {
                background-attachment: scroll;
                background-position: center top;
            }

            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%);
            }

            .split-container {
                flex-direction: column;
                height: auto;
            }
            
            .left-pane, .right-pane {
                flex-basis: auto;
                padding: 1.5rem;
            }

            .left-pane {
                min-height: 50vh;
            }
            
            .title-box h1 {
                font-size: 2.5rem;
            }

            
        }
/* --- Work in Progress Pop-up Styles --- */
#wip-popup-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    -webkit-backdrop-filter: blur(4px); /* Light blur for the background */
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    pointer-events: all;
}

.popup-box {
    position: relative;
    /* Applying glassmorphism from your .title-box */
    background-color: rgba(40, 42, 54, 0.7); 
    -webkit-backdrop-filter: blur(10px); 
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(248, 248, 242, 0.1); /* Subtle border from .title-box */
}

/* Applying the gradient border effect from your .info-block */
.popup-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px; /* Border thickness */
    background: linear-gradient(135deg, var(--cyan), var(--green), var(--pink), var(--purple));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none; 
}

.popup-box h2 {
    color: var(--cyan); /* Using theme accent color */
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.popup-box p {
    color: var(--foreground); /* Using theme text color */
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

#close-wip-popup {
    /* Styling button to match .info-block a */
    display: inline-block;
    color: var(--background);
    background-color: var(--purple);
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#close-wip-popup:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}