   :root {
            --bg: #0f1115;
            --surface: #141621;
            --muted: #2b2f36;
            --accent-soft: #9aa8c3;
            --accent-warm: #c6b7c6;
            --text-main: #e7e9ee;
            --text-dim: #b7bcc3;
            
            /* Spacing and Radius variables */
            --radius-md: 8px;
            --radius-lg: 16px;
            --radius-xl: 24px;
        }

        body {
            background-color: var(--bg);
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Custom styles to complement Tailwind */
        .bg-surface { background-color: var(--surface); }
        .bg-muted { background-color: var(--muted); }
        .text-main { color: var(--text-main); }
        .text-dim { color: var(--text-dim); }
        .text-accent-soft { color: var(--accent-soft); }
        .border-muted { border-color: var(--muted); }

        /* Glassmorphism effect for the sticky header on scroll */
        .header-scrolled {
            background-color: rgba(20, 22, 33, 0.8); /* var(--surface) with alpha */
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom-width: 1px;
            border-color: var(--muted);
        }

        /* Keyboard focus styles */
        :focus-visible {
            outline: 2px solid var(--accent-soft);
            outline-offset: 2px;
            border-radius: var(--radius-md);
        }
        
        /* Hide scrollbar for timeline container */
        .timeline-container::-webkit-scrollbar {
            display: none;
        }
        .timeline-container {
            -ms-overflow-style: none; /* IE and Edge */
            scrollbar-width: none; /* Firefox */
        }

        /* Day-Night Transition Animations - Enhanced Smoothness */
        .day-night-section {
            position: relative;
            overflow: hidden;
        }

        .day-night-section img {
            transition: opacity 3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                       transform 4s cubic-bezier(0.4, 0.0, 0.2, 1),
                       filter 3s cubic-bezier(0.4, 0.0, 0.2, 1);
        }

        /* Enhanced smooth transitions with custom easing */
        .transition-day-night {
            transition: opacity 3s cubic-bezier(0.4, 0.0, 0.2, 1), 
                       transform 4s cubic-bezier(0.4, 0.0, 0.2, 1),
                       filter 3s ease-out;
        }

        /* Subtle glow effects for enhanced beauty */
        .sun-glow {
            filter: drop-shadow(0 0 30px rgba(255, 204, 102, 0.6)) 
                   drop-shadow(0 0 60px rgba(255, 204, 102, 0.3));
        }

        .moon-glow {
            filter: drop-shadow(0 0 25px rgba(200, 220, 255, 0.8)) 
                   drop-shadow(0 0 50px rgba(200, 220, 255, 0.4));
        }

        /* Gradient overlay for smoother transitions */
        .day-night-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, 
                       transparent 0%, 
                       rgba(15, 17, 21, 0.1) 50%, 
                       rgba(15, 17, 21, 0.2) 100%);
            z-index: 25;
            pointer-events: none;
            opacity: 0;
            transition: opacity 3s ease-in-out;
        }

        .night-overlay-active::before {
            opacity: 1;
        }



        .bgcol{
                background-color: #ffffff00;
        }


         @keyframes floatY {
                           0% { transform: translateY(0); }
                           25% { transform: translateY(-12px); }
                           50% { transform: translateY(0); }
                           75% { transform: translateY(12px); }
                           100% { transform: translateY(0); }
                        }
                        .float-vertical {
                           animation: floatY 4s ease-in-out infinite;
                           will-change: transform;
                           transform-origin: center;
                        }
                        @media (prefers-reduced-motion: reduce) {
                           .float-vertical { animation: none !important; }
                        }

        /* Stars Section Styles */
        #hopeless-text {
            transition: opacity 0.3s ease-in-out;
            font-style: italic;
            line-height: 1.6;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            max-width: 800px;
            margin: 0 auto;
        }

        .star-item {
            position: absolute;
            cursor: pointer;
            transition: all 0.3s ease-in-out;
        }

        .star-item:hover {
            transform: scale(1.3);
        }

        .star-icon {
            width: 3px;
            height: 3px;
            background: #fff;
            border-radius: 50%;
            position: relative;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 0 6px rgba(255, 255, 255, 0.8),
                       0 0 12px rgba(255, 255, 255, 0.4);
        }

        .star-icon.size-small {
            width: 2px;
            height: 2px;
            box-shadow: 0 0 4px rgba(255, 255, 255, 0.6),
                       0 0 8px rgba(255, 255, 255, 0.3);
        }

        .star-icon.size-medium {
            width: 3px;
            height: 3px;
            box-shadow: 0 0 6px rgba(255, 255, 255, 0.8),
                       0 0 12px rgba(255, 255, 255, 0.4);
        }

        .star-icon.size-large {
            width: 4px;
            height: 4px;
            box-shadow: 0 0 8px rgba(255, 255, 255, 1),
                       0 0 16px rgba(255, 255, 255, 0.5);
        }

        .star-icon:hover {
            box-shadow: 0 0 12px rgba(255, 255, 255, 1),
                       0 0 24px rgba(255, 255, 255, 0.7),
                       0 0 36px rgba(255, 255, 255, 0.3);
            background: #ffeb3b;
        }

        /* Star twinkling animation */
        @keyframes twinkle {
            0%, 100% { 
                opacity: 0.3;
                transform: scale(1);
            }
            50% { 
                opacity: 1;
                transform: scale(1.2);
            }
        }

        .star-icon.twinkle {
            animation: twinkle 2s ease-in-out infinite;
        }

        /* Floating movement for stars */
        @keyframes starFloat {
            0%, 100% { transform: translate(0, 0); }
            25% { transform: translate(2px, -3px); }
            50% { transform: translate(-1px, -2px); }
            75% { transform: translate(-2px, 1px); }
        }

        .star-item.floating {
            animation: starFloat 4s ease-in-out infinite;
        }

        /* Different animation delays for natural movement */
        .star-item:nth-child(2n) { animation-delay: 0.5s; }
        .star-item:nth-child(3n) { animation-delay: 1s; }
        .star-item:nth-child(4n) { animation-delay: 1.5s; }
        .star-item:nth-child(5n) { animation-delay: 2s; }

        /* Tooltip Styles */
        #star-tooltip {
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-md);
            font-size: 0.875rem;
            line-height: 1.4;
            z-index: 1000;
        }

        #star-tooltip::before {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 5px solid rgba(0, 0, 0, 0.95);
        }

        /* Responsive grid adjustments for stars */
        @media (max-width: 768px) {
            #stars-container {
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
            }
            
            .star-icon {
                width: 1.75rem;
                height: 1.75rem;
            }
        }

        @media (max-width: 480px) {
            #stars-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
            }
            
            .star-icon {
                width: 1.5rem;
                height: 1.5rem;
            }
            
            #star-tooltip {
                font-size: 0.8rem;
                max-width: 250px;
            }
        }