/* CSS Custom Properties for Theming */
        :root {
            --font-family: 'Inter', sans-serif;

            /* Light Mode Variables */
            --bg-color-light: #f4f7f6;
            --text-color-light: #121212;
            --card-bg-light: #ffffff;
            --link-bg-light: #e9ecef;
            --link-hover-bg-light: #dee2e6;
            --link-text-light: #007bff;
            --link-icon-light: #007bff;
            --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
            --toggle-icon-light: #ffc107; /* Sun icon */
            --toggle-bg-light: #e0e0e0;

            /* Dark Mode Variables */
            --bg-color-dark: #1a1d24; /* Slightly bluish dark */
            --text-color-dark: #e0e0e0;
            --card-bg-dark: #252a34; /* Darker card */
            --link-bg-dark: #3a3f4b; /* Darker link */
            --link-hover-bg-dark: #4a4f5c;
            --link-text-dark: #58a6ff; /* Lighter blue for dark mode */
            --link-icon-dark: #58a6ff;
            --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.25);
            --toggle-icon-dark: #f1c40f; /* Moon icon - can be same or different yellow */
            --toggle-bg-dark: #424242;

            /* Default to Light Mode */
            --bg-color: var(--bg-color-light);
            --text-color: var(--text-color-light);
            --card-bg: var(--card-bg-light);
            --link-bg: var(--link-bg-light);
            --link-hover-bg: var(--link-hover-bg-light);
            --link-text: var(--link-text-light);
            --link-icon: var(--link-icon-light);
            --shadow: var(--shadow-light);
            --toggle-icon: var(--toggle-icon-light);
            --toggle-bg: var(--toggle-bg-light);
        }

        /* Dark Mode Class */
        body.dark-mode {
            --bg-color: var(--bg-color-dark);
            --text-color: var(--text-color-dark);
            --card-bg: var(--card-bg-dark);
            --link-bg: var(--link-bg-dark);
            --link-hover-bg: var(--link-hover-bg-dark);
            --link-text: var(--link-text-dark);
            --link-icon: var(--link-icon-dark);
            --shadow: var(--shadow-dark);
            --toggle-icon: var(--toggle-icon-dark);
            --toggle-bg: var(--toggle-bg-dark);
        }

        /* General Styles */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-family);
            background-color: var(--bg-color);
            color: var(--text-color);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 20px;
            transition: background-color 0.3s ease, color 0.3s ease;
            overflow-x: hidden; /* Prevent horizontal scroll */
        }

        .main-container {
            background-color: var(--card-bg);
            padding: 30px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            width: 100%;
            max-width: 600px;
            text-align: center;
            opacity: 0; /* For fade-in animation */
            transform: translateY(20px); /* For slide-up animation */
            animation: fadeInSlideUp 0.7s ease-out forwards;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            position: relative; /* For theme toggle positioning */
        }

        @keyframes fadeInSlideUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Theme Toggle Button */
        .theme-toggle-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: var(--toggle-bg);
            color: var(--toggle-icon);
            border: none;
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .theme-toggle-button:hover {
            transform: scale(1.1);
        }

        /* Profile Section */
        .profile-section {
            margin-bottom: 30px;
        }

        .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 3px solid var(--link-bg);
            transition: border-color 0.3s ease;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }

        .profile-name {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--text-color);
            transition: color 0.3s ease;
        }

        .profile-tagline {
            font-size: 1rem;
            color: var(--text-color);
            opacity: 0.8;
            margin-bottom: 20px;
            transition: color 0.3s ease, opacity 0.3s ease;
        }

        /* Links Section */
        .links-list {
            list-style: none;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 15px; /* Space between link items */
        }

        .links-list li {
            opacity: 0;
            transform: translateY(10px);
            animation: fadeInSlideUpItem 0.5s ease-out forwards;
        }

        /* Staggered animation for list items */
        .links-list li:nth-child(1) { animation-delay: 0.1s; }
        .links-list li:nth-child(2) { animation-delay: 0.2s; }
        .links-list li:nth-child(3) { animation-delay: 0.3s; }
        .links-list li:nth-child(4) { animation-delay: 0.4s; }
        .links-list li:nth-child(5) { animation-delay: 0.5s; }
        /* Add more if you have more links */


        @keyframes fadeInSlideUpItem {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .link-item a {
            display: flex;
            align-items: center;
            justify-content: center; /* Center content within the link */
            background-color: var(--link-bg);
            color: var(--link-text);
            padding: 15px 20px;
            text-decoration: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .link-item a:hover {
            background-color: var(--link-hover-bg);
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .link-item a i {
            margin-right: 12px;
            font-size: 1.2rem;
            color: var(--link-icon);
            transition: color 0.3s ease;
        }

        /* Footer */
        .footer {
            margin-top: 30px;
            font-size: 0.9rem;
            color: var(--text-color);
            opacity: 0.7;
            transition: color 0.3s ease, opacity 0.3s ease;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .main-container {
                padding: 20px;
                margin: 10px; /* Add some margin on smaller screens */
            }

            .profile-image {
                width: 100px;
                height: 100px;
            }

            .profile-name {
                font-size: 1.5rem;
            }

            .profile-tagline {
                font-size: 0.9rem;
            }

            .link-item a {
                padding: 12px 15px;
                font-size: 0.95rem;
            }

            .theme-toggle-button {
                top: 15px;
                right: 15px;
                padding: 8px;
                font-size: 1rem;
            }
        }

         @media (max-width: 480px) {
            body {
                padding: 10px;
            }
            .main-container {
                border-radius: 10px; /* Slightly less rounded on small screens */
            }
             .profile-image {
                width: 80px;
                height: 80px;
            }
        }
