body { font-family: 'Inter', sans-serif; }
.glass { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); }

/* Theme Switch from Uiverse.io */
.theme-switch {
          --toggle-size: 16px;
          --container-width: 5.625em;
          --container-height: 2.5em;
          --container-radius: 6.25em;
          --container-light-bg: #3d7eae;
          --container-night-bg: #1d1f2c;
          --circle-container-diameter: 3.375em;
          --sun-moon-diameter: 2.125em;
          --sun-bg: #ecca2f;
          --moon-bg: #c4c9d1;
          --spot-color: #959db1;
          --circle-container-offset: calc(
            (var(--circle-container-diameter) - var(--container-height)) / 2 * -1
          );
          --stars-color: #fff;
          --clouds-color: #f3fdff;
          --back-clouds-color: #aacadf;
          --transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
          --circle-transition: 0.3s cubic-bezier(0, -0.02, 0.35, 1.17);
        }

        .theme-switch,
        .theme-switch *,
        .theme-switch *::before,
        .theme-switch *::after {
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          font-size: var(--toggle-size);
        }

        .theme-switch__container {
          width: var(--container-width);
          height: var(--container-height);
          background-color: var(--container-light-bg);
          border-radius: var(--container-radius);
          overflow: hidden;
          cursor: pointer;
          -webkit-box-shadow:
            0em -0.062em 0.062em rgba(0, 0, 0, 0.25),
            0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
          box-shadow:
            0em -0.062em 0.062em rgba(0, 0, 0, 0.25),
            0em 0.062em 0.125em rgba(255, 255, 255, 0.94);
          -webkit-transition: var(--transition);
          -o-transition: var(--transition);
          transition: var(--transition);
          position: relative;
          background-image: linear-gradient(
            to bottom,
            var(--container-light-bg) 0%,
            #5490c0 100%
          );
          transition: all var(--transition);
        }

        .theme-switch__container::before {
          content: "";
          position: absolute;
          z-index: 1;
          inset: 0;
          -webkit-box-shadow:
            0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset,
            0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
          box-shadow:
            0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset,
            0em 0.05em 0.187em rgba(0, 0, 0, 0.25) inset;
          border-radius: var(--container-radius);
        }

        .theme-switch__checkbox {
          display: none;
        }

        .theme-switch__circle-container {
          width: var(--circle-container-diameter);
          height: var(--circle-container-diameter);
          background-color: rgba(255, 255, 255, 0.1);
          position: absolute;
          left: var(--circle-container-offset);
          top: var(--circle-container-offset);
          border-radius: var(--container-radius);
          -webkit-box-shadow:
            inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
            inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
            0 0 0 0.625em rgba(255, 255, 255, 0.1),
            0 0 0 1.25em rgba(255, 255, 255, 0.1);
          box-shadow:
            inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
            inset 0 0 0 3.375em rgba(255, 255, 255, 0.1),
            0 0 0 0.625em rgba(255, 255, 255, 0.1),
            0 0 0 1.25em rgba(255, 255, 255, 0.1);
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-transition: var(--circle-transition);
          -o-transition: var(--circle-transition);
          transition: var(--circle-transition);
          pointer-events: none;
        }

        .theme-switch__sun-moon-container {
          pointer-events: auto;
          position: relative;
          z-index: 2;
          width: var(--sun-moon-diameter);
          height: var(--sun-moon-diameter);
          margin: auto;
          border-radius: var(--container-radius);
          background-color: var(--sun-bg);
          -webkit-box-shadow:
            0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
            0em -0.062em 0.062em 0em #a1872a inset;
          box-shadow:
            0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
            0em -0.062em 0.062em 0em #a1872a inset;
          -webkit-filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25))
            drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
          filter: drop-shadow(0.062em 0.125em 0.125em rgba(0, 0, 0, 0.25))
            drop-shadow(0em 0.062em 0.125em rgba(0, 0, 0, 0.25));
          overflow: hidden;
          -webkit-transition: var(--transition);
          -o-transition: var(--transition);
          transition: var(--transition);
          transform: scale(1);
          transition: transform 0.3s ease;
        }

        .theme-switch__sun-moon-container:hover {
          transform: scale(1.1) rotate(5deg);
        }

        .theme-switch__moon {
          -webkit-transform: translateX(100%);
          -ms-transform: translateX(100%);
          transform: translateX(100%);
          width: 100%;
          height: 100%;
          background-color: var(--moon-bg);
          border-radius: inherit;
          -webkit-box-shadow:
            0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
            0em -0.062em 0.062em 0em #969696 inset;
          box-shadow:
            0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
            0em -0.062em 0.062em 0em #969696 inset;
          -webkit-transition: var(--transition);
          -o-transition: var(--transition);
          transition: var(--transition);
          position: relative;
          transition:
            all var(--transition),
            transform 0.3s ease;
        }

        .theme-switch__moon:hover {
          transform: rotate(15deg);
        }

        .theme-switch__spot {
          position: absolute;
          top: 0.75em;
          left: 0.312em;
          width: 0.75em;
          height: 0.75em;
          border-radius: var(--container-radius);
          background-color: var(--spot-color);
          -webkit-box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
          box-shadow: 0em 0.0312em 0.062em rgba(0, 0, 0, 0.25) inset;
          transition: background-color 0.3s ease;
        }

        .theme-switch__spot:nth-of-type(2) {
          width: 0.375em;
          height: 0.375em;
          top: 0.937em;
          left: 1.375em;
        }

        .theme-switch__spot:nth-last-of-type(3) {
          width: 0.25em;
          height: 0.25em;
          top: 0.312em;
          left: 0.812em;
        }

        .theme-switch__moon:hover .theme-switch__spot {
          background-color: #7a7f8c;
        }

        .theme-switch__clouds {
          width: 1.25em;
          height: 1.25em;
          background-color: var(--clouds-color);
          border-radius: var(--container-radius);
          position: absolute;
          bottom: -0.625em;
          left: 0.312em;
          -webkit-box-shadow:
            0.937em 0.312em var(--clouds-color),
            -0.312em -0.312em var(--back-clouds-color),
            1.437em 0.375em var(--clouds-color),
            0.5em -0.125em var(--back-clouds-color),
            2.187em 0 var(--clouds-color),
            1.25em -0.062em var(--back-clouds-color),
            2.937em 0.312em var(--clouds-color),
            2em -0.312em var(--back-clouds-color),
            3.625em -0.062em var(--clouds-color),
            2.625em 0em var(--back-clouds-color),
            4.5em -0.312em var(--clouds-color),
            3.375em -0.437em var(--back-clouds-color),
            4.625em -1.75em 0 0.437em var(--clouds-color),
            4em -0.625em var(--back-clouds-color),
            4.125em -2.125em 0 0.437em var(--back-clouds-color);
          box-shadow:
            0.937em 0.312em var(--clouds-color),
            -0.312em -0.312em var(--back-clouds-color),
            1.437em 0.375em var(--clouds-color),
            0.5em -0.125em var(--back-clouds-color),
            2.187em 0 var(--clouds-color),
            1.25em -0.062em var(--back-clouds-color),
            2.937em 0.312em var(--clouds-color),
            2em -0.312em var(--back-clouds-color),
            3.625em -0.062em var(--clouds-color),
            2.625em 0em var(--back-clouds-color),
            4.5em -0.312em var(--clouds-color),
            3.375em -0.437em var(--back-clouds-color),
            4.625em -1.75em 0 0.437em var(--clouds-color),
            4em -0.625em var(--back-clouds-color),
            4.125em -2.125em 0 0.437em var(--back-clouds-color);
          -webkit-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
          -o-transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
          transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
        }

        .theme-switch__stars-container {
          position: absolute;
          color: var(--stars-color);
          top: -100%;
          left: 0.312em;
          width: 2.75em;
          height: auto;
          -webkit-transition: var(--transition);
          -o-transition: var(--transition);
          transition: var(--transition);
        }

        .theme-switch__checkbox:checked + .theme-switch__container {
          background-color: var(--container-night-bg);
          background-image: linear-gradient(
            to bottom,
            var(--container-night-bg) 0%,
            #2d3142 100%
          );
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__circle-container {
          left: calc(
            100% - var(--circle-container-offset) - var(--circle-container-diameter)
          );
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__circle-container:hover {
          left: calc(
            100% - var(--circle-container-offset) - var(--circle-container-diameter) -
              0.187em
          );
        }

        .theme-switch__circle-container:hover {
          left: calc(var(--circle-container-offset) + 0.187em);
        }

        .theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
          -webkit-transform: translate(0);
          -ms-transform: translate(0);
          transform: translate(0);
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__clouds {
          bottom: -4.062em;
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__stars-container {
          top: 50%;
          -webkit-transform: translateY(-50%);
          -ms-transform: translateY(-50%);
          transform: translateY(-50%);
        }

        .theme-switch__container:hover .theme-switch__clouds {
          transform: translateX(15px) scale(1.02);
        }

        .theme-switch__sun-moon-container::after {
          content: "";
          position: absolute;
          inset: -5px;
          background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.2) 0%,
            transparent 70%
          );
          border-radius: 50%;
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .theme-switch__sun-moon-container:hover::after {
          opacity: 1;
        }

        .theme-switch__shooting-star {
          position: absolute;
          width: 2px;
          height: 2px;
          background: white;
          top: 20%;
          left: -10%;
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .theme-switch__shooting-star-2 {
          position: absolute;
          width: 1px;
          height: 1px;
          background: white;
          top: 35%;
          left: -10%;
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .theme-switch__meteor {
          position: absolute;
          width: 3px;
          height: 3px;
          background: #ffd700;
          border-radius: 50%;
          top: -10%;
          left: 50%;
          opacity: 0;
          filter: blur(1px);
          transition: opacity 0.3s ease;
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__shooting-star {
          animation: shootingStar 2s linear infinite;
          opacity: 1;
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__shooting-star-2 {
          animation: shootingStar 3s linear infinite 1s;
          opacity: 1;
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__meteor {
          animation: meteor 4s linear infinite 2s;
          opacity: 1;
        }

        @keyframes shootingStar {
          0% {
            transform: translateX(0) translateY(0) rotate(45deg);
            opacity: 1;
          }
          100% {
            transform: translateX(150px) translateY(150px) rotate(45deg);
            opacity: 0;
          }
        }

        @keyframes meteor {
          0% {
            transform: translateY(0) scale(1);
            opacity: 1;
          }
          100% {
            transform: translateY(150px) scale(0.3);
            opacity: 0;
          }
        }

        .theme-switch__stars-cluster {
          position: absolute;
          inset: 0;
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .theme-switch__stars-cluster .star {
          position: absolute;
          width: 2px;
          height: 2px;
          background: white;
          border-radius: 50%;
          box-shadow: 0 0 4px 1px white;
        }

        .theme-switch__stars-cluster .star:nth-child(1) {
          top: 20%;
          left: 20%;
          animation: twinkle 1s infinite ease-in-out;
        }
        .theme-switch__stars-cluster .star:nth-child(2) {
          top: 30%;
          left: 55%;
          animation: twinkle 1s infinite ease-in-out 0.3s;
        }
        .theme-switch__stars-cluster .star:nth-child(3) {
          top: 40%;
          left: 80%;
          animation: twinkle 1s infinite ease-in-out 0.6s;
        }
        .theme-switch__stars-cluster .star:nth-child(4) {
          top: 60%;
          left: 30%;
          animation: twinkle 1s infinite ease-in-out 0.9s;
        }
        .theme-switch__stars-cluster .star:nth-child(5) {
          top: 70%;
          left: 65%;
          animation: twinkle 1s infinite ease-in-out 1.2s;
        }

        .theme-switch__aurora {
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          height: 20px;
          background: linear-gradient(
            90deg,
            rgba(0, 255, 255, 0) 0%,
            rgba(0, 255, 255, 0.2) 25%,
            rgba(128, 0, 255, 0.2) 50%,
            rgba(0, 255, 255, 0.2) 75%,
            rgba(0, 255, 255, 0) 100%
          );
          opacity: 0;
          filter: blur(4px);
          transform: translateY(-100%);
          transition: opacity 0.3s ease;
        }

        .theme-switch__comets {
          position: absolute;
          inset: 0;
          overflow: hidden;
          opacity: 0;
          transition: opacity 0.3s ease;
        }

        .theme-switch__comets .comet {
          position: absolute;
          width: 2px;
          height: 2px;
          background: linear-gradient(90deg, white 0%, transparent 90%);
          border-radius: 50%;
          filter: blur(1px);
        }

        .theme-switch__comets .comet:nth-child(1) {
          top: 30%;
          left: -10%;
          animation: cometMove 4s linear infinite;
        }

        .theme-switch__comets .comet:nth-child(2) {
          top: 50%;
          left: -10%;
          animation: cometMove 6s linear infinite 2s;
        }

        @keyframes twinkle {
          0%,
          100% {
            opacity: 0.3;
            transform: scale(1);
          }
          50% {
            opacity: 1;
            transform: scale(1.2);
          }
        }

        @keyframes cometMove {
          0% {
            transform: translateX(0) translateY(0) rotate(-45deg) scale(1);
            opacity: 0;
          }
          10% {
            opacity: 1;
          }
          90% {
            opacity: 1;
          }
          100% {
            transform: translateX(200px) translateY(200px) rotate(-45deg) scale(0.2);
            opacity: 0;
          }
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__stars-cluster {
          opacity: 1;
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__aurora {
          opacity: 1;
          animation: auroraWave 8s linear infinite;
        }

        .theme-switch__checkbox:checked
          + .theme-switch__container
          .theme-switch__comets {
          opacity: 1;
        }

        @keyframes auroraWave {
          0% {
            transform: translateY(-100%) translateX(-50%);
          }
          100% {
            transform: translateY(-100%) translateX(50%);
          }
        }

/* --- New Premium Animations --- */

/* Floating Animation for Background Blobs */
@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float 8s ease-in-out infinite reverse;
}

/* Fade In Up Entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0; /* Identify init state for forwards to work */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* Enhanced Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #3b82f6, #8b5cf6, #ec4899);
}

/* Scroll Down Animation */
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

.animate-scroll-down {
    animation: scrollDown 2s infinite;
}

/* Continuous Jump Animation */
@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-jump {
    animation: jump 1.5s infinite ease-in-out;
}

/* Dark Mode Toggle Mobile Minimization */
@media (max-width: 640px) {
    .theme-switch {
        --toggle-size: 10px; /* Reduced from 16px */
    }
}

/* Icon Glow */
.icon-glow {
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

/* --- High-End Design Helpers --- */

.gradient-text {
    background: linear-gradient(90deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Floating Animations */
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

.floating-slow {
    animation: floating 8s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.7; filter: brightness(1.2); }
}

.pulse-glow {
    animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Shine Animation */
.shine-ref {
    position: relative;
    overflow: hidden;
}

.shine-ref::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine-move 3s infinite linear;
    pointer-events: none;
}

@keyframes shine-move {
    0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

/* Star Background */
.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 5s infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Interactive Cards & Hovers */
.glow-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glow-hover:hover {
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.4);
    transform: translateY(-12px) scale(1.05); /* Increased scale as requested */
}

.dark .glow-hover:hover {
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.3);
}

.stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.05); /* Unified scale */
}

/* Custom Skill Progress Bars */
.skill-bar-bg {
    width: 100%;
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 9999px;
    height: 0.5rem;
    margin-top: 0.75rem;
    overflow: hidden;
}

.dark .skill-bar-bg {
    background-color: #374151; /* gray-700 */
}

.skill-bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: all 1s ease-in-out;
}

/* --- End Helpers --- */

html {
    scroll-behavior: smooth;
}


/* Add these styles to



deepseek




your global.css file */

/* Cosmic Animations */
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floating-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.floating {
    animation: floating 6s ease-in-out infinite;
}

.floating-slow {
    animation: floating-slow 8s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-glow {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 15px var(--primary, #6366f1);
}

.animate-spin-slow {
    animation: spin-slow 10s linear infinite;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary, #6366f1), var(--accent, #ec4899));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite linear;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

/* Consolidated with above definitions */

.skill-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shine 2s infinite;
}