/* ========================
           VARIABLES & RESET
           ======================== */
        :root {
            --color-background: #fff;
            --color-text: #2c3e50;
            --color-primary: #e74c3c; /* Red */
            --color-secondary: #3498db; /* Blue */
            --color-highlight-bg: #f2f5f7;
            --font-family-sans-serif: "Nunito", system-ui, -apple-system, sans-serif;
            --navbar-height: 80px;
            --navbar-padding: 1.5rem;
            --container-width: 1140px;
        }

        @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;800&family=Anonymous+Pro:wght@400;700&display=swap');
        
        /* Removed @import for Font Awesome here to prevent loading errors */

        *, *::before, *::after { box-sizing: border-box; }

        body {
            margin: 0; 
            font-family: var(--font-family-sans-serif);
            color: var(--color-text); 
            background-color: var(--color-background);
            background-image: 
                conic-gradient(from 90deg at 1px 1px, transparent 25%, gainsboro 0%),
                linear-gradient(45deg, transparent calc(50% - 0.5px), gainsboro 0 calc(50% + 0.5px), transparent 0),
                linear-gradient(-45deg, transparent calc(50% - 0.5px), gainsboro 0 calc(50% + 0.5px), transparent 0);
            background-position: -0.5px -0.5px, 0 0, 0 0;
            background-size: 1em 1em, 2em 2em, 2em 2em;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        ul { list-style: none; margin: 0; padding: 0; }
        a { text-decoration: none; color: inherit; }

        /* ========================
           NAVBAR STYLES
           ======================== */
        .navbar {
            height: var(--navbar-height); 
            display: flex; align-items: center;
            background-color: var(--color-background);
            border-bottom: 2px solid var(--color-highlight-bg);
            position: sticky; top: 0; z-index: 1000;
            width: 100%;
        }

        .navbar__container {
            display: flex; justify-content: space-between; align-items: center;
            width: 100%; max-width: var(--container-width);
            margin: 0 auto; padding: 0 var(--navbar-padding);
        }

        .navbar__brand { font-size: 1.75rem; font-weight: 700; color: var(--color-primary); position: relative; }

        /* --- GLITCH EFFECT CSS --- */
        .navbar__brand.glitch {
            animation: glitch-skew 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
            color: #000;
        }
        .navbar__brand.glitch::before,
        .navbar__brand.glitch::after {
            content: "Rafsan";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .navbar__brand.glitch::before {
            left: 2px;
            text-shadow: -2px 0 #ff00c1;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim 5s infinite linear alternate-reverse;
        }
        .navbar__brand.glitch::after {
            left: -2px;
            text-shadow: -2px 0 #00fff9;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim2 5s infinite linear alternate-reverse;
        }

        @keyframes glitch-anim {
            0% { clip: rect(31px, 9999px, 94px, 0); }
            20% { clip: rect(6px, 9999px, 5px, 0); }
            40% { clip: rect(60px, 9999px, 83px, 0); }
            60% { clip: rect(27px, 9999px, 35px, 0); }
            80% { clip: rect(82px, 9999px, 12px, 0); }
            100% { clip: rect(48px, 9999px, 66px, 0); }
        }
        @keyframes glitch-anim2 {
            0% { clip: rect(2px, 9999px, 86px, 0); }
            20% { clip: rect(98px, 9999px, 5px, 0); }
            40% { clip: rect(4px, 9999px, 69px, 0); }
            60% { clip: rect(78px, 9999px, 20px, 0); }
            80% { clip: rect(13px, 9999px, 49px, 0); }
            100% { clip: rect(32px, 9999px, 90px, 0); }
        }
        @keyframes glitch-skew {
            0% { transform: skew(0deg); }
            10% { transform: skew(-5deg); }
            20% { transform: skew(5deg); }
            30% { transform: skew(0deg); }
            100% { transform: skew(0deg); }
        }

        .navbar__toggle { display: block; border: none; background: transparent; cursor: pointer; z-index: 1001; }
        .navbar__toggle .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--color-text); transition: 0.3s; }
        .navbar__menu { display: none; flex-direction: column; width: 100%; position: absolute; top: var(--navbar-height); left: 0; background: #fff; border-bottom: 2px solid #eee; }
        .navbar__menu.is-active { display: flex; }
        .navbar__item { text-align: center; }
        .navbar__link { display: block; padding: 1.5rem; font-weight: 700; }

        @media (min-width: 768px) {
            .navbar__toggle { display: none; }
            .navbar__menu { display: flex; flex-direction: row; position: static; width: auto; background: none; border: none; }
            .navbar__list { display: flex; align-items: center; gap: 0.5rem; }
            .navbar__link { padding: 0.5rem 1rem; position: relative; }
            .navbar__link:not(.navbar__link--cta)::after {
                content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background-color: var(--color-secondary); transition: 0.3s ease; transform: translateX(-50%);
            }
            .navbar__link:not(.navbar__link--cta):hover::after { width: 100%; }
            .navbar__item--cta { margin-left: 1rem; }
            .navbar__link--cta {
                padding: 0.75rem 1.5rem; border-radius: 50px; border: 2px solid var(--color-secondary); position: relative; overflow: hidden; z-index: 1; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--color-secondary); transition: all 0.3s ease;
            }
            .navbar__link--cta::before {
                content: ""; width: 100%; height: 0%; position: absolute; left: 0; top: 0; background-color: var(--color-secondary); z-index: -1; transition: all 0.4s cubic-bezier(0.64, 0.01, 0.07, 1.65);
            }
            .navbar__link--cta:hover { color: white; -webkit-text-stroke: 0px; border-color: var(--color-secondary); }
            .navbar__link--cta:hover::before { height: 100%; }
        }

        /* ========================
           ABOUT ME CONTENT
           ======================== */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 3rem 1.5rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .profile-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 1rem;
            width: 100%;
        }

        .profile-name {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
            color: #000000;
            font-family: 'Anonymous Pro', monospace;
        }

        .profile-role {
            font-size: 1.25rem;
            color: var(--color-primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Spicy Text Styling */
        .bio-section {
            font-size: 1.15rem;
            line-height: 1.9;
            margin-bottom: 3rem;
            text-align: left;
            padding: 2rem;
            background: rgba(255,255,255,0.8);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            border: 1px solid rgba(0,0,0,0.05);
        }

        .bio-section p { margin-bottom: 1.5rem; }

        /* Highlight classes */
        .highlight {
            position: relative;
            display: inline-block;
            font-weight: 800;
            color: var(--color-text);
            z-index: 1;
        }
        
        .highlight::after {
            content: '';
            position: absolute;
            left: -2px; bottom: 2px;
            width: calc(100% + 4px); height: 8px;
            background-color: rgba(52, 152, 219, 0.3); /* Light Blue */
            z-index: -1;
            transition: height 0.2s ease;
        }
        
        .highlight:hover::after {
            height: 100%; /* Full highlight on hover */
        }

        /* --- PYTHON SNAKE EFFECT --- */
        .python-word {
            color: #306998; /* Python Blue */
            font-weight: 800;
            cursor: pointer;
            position: relative;
            display: inline-block;
        }

        .python-word:hover {
            animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
            transform: translate3d(0, 0, 0);
            color: #FFD43B; /* Python Yellow */
            text-shadow: 1px 1px 0 #306998;
        }

        /* The "Snake" line wrapping around */
        .python-word::before {
            content: "🐍";
            position: absolute;
            font-size: 0.8em;
            opacity: 0;
            top: -20px;
            left: 0;
            transition: all 0.3s;
        }
        
        .python-word:hover::before {
            opacity: 1;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
        }

        @keyframes shake {
            10%, 90% { transform: translate3d(-1px, 0, 0); }
            20%, 80% { transform: translate3d(2px, 0, 0); }
            30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
            40%, 60% { transform: translate3d(4px, 0, 0); }
        }

        /* --- KALI LINUX TRIGGER --- */
        .kali-word {
            background-color: #000;
            color: #39FF14; /* Hacker Green */
            padding: 0 4px;
            font-family: 'Anonymous Pro', monospace;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s;
        }
        .kali-word:hover {
            box-shadow: 0 0 10px #39FF14;
            text-shadow: 0 0 5px #39FF14;
        }
        .kali-word:active {
            transform: scale(0.95);
        }

        /* Linux Link - Admin Portal */
        .linux-link {
            background-color: #FCC624; /* Ubuntu Orange */
            color: #000;
            padding: 2px 6px;
            font-family: 'Anonymous Pro', monospace;
            font-weight: 700;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.3s;
            text-decoration: none;
            border-bottom: 2px solid #FCC624;
        }
        .linux-link:hover {
            box-shadow: 0 0 12px #FCC624;
            text-shadow: 0 0 5px rgba(252, 198, 36, 0.5);
            transform: translateY(-2px);
        }
        .linux-link:active {
            transform: scale(0.95);
        }
        .linux-link:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* Updated Social Links Layout */
        .social-container {
            width: 100%;
            padding-top: 2rem;
            border-top: 2px solid var(--color-highlight-bg);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            align-items: center;
        }

        .social-row {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1.5rem;
        }

        .social-row a {
            display: flex; align-items: center; justify-content: center;
            width: 55px; height: 55px; border-radius: 50%;
            background-color: #fff; color: var(--color-text);
            font-size: 1.5rem; transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: 2px solid var(--color-highlight-bg);
        }

        .social-row a:hover { transform: translateY(-5px) scale(1.1); border-color: var(--color-primary); }
        .social-row .fa-instagram:hover { color: #E1306C; }
        .social-row .fa-github:hover { color: #333; }
        .social-row .fa-facebook:hover { color: #3b5998; }
        .social-row .fa-x-twitter:hover { color: #000; }
        .social-row .fa-tiktok:hover { color: #000; }
        .social-row .fa-youtube:hover { color: #FF0000; }

        @media (max-width: 768px) {
            .profile-name { font-size: 2rem; }
            .bio-section { padding: 1.5rem; }
        }