:root {
    --primary: #6d28d9;
    --primary-dark: #5b21b6;
    --primary-light: #8b5cf6;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --accent: #f43f5e;
    --dark: #0f172a;
    --darker: #020617;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #020617;
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}


/* 3D Background Elements */

.bg-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    will-change: transform;
    animation: float3d 8s ease-in-out infinite;
}

.bg-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.4) 0%, rgba(109, 40, 217, 0.1) 70%, transparent 100%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.1) 70%, transparent 100%);
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.bg-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes float3d {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.95);
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.02);
    }
}


/* Custom Scrollbar */

 ::-webkit-scrollbar {
    width: 6px;
}

 ::-webkit-scrollbar-track {
    background: var(--gray-900);
}

 ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

 ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* Gradient Text */

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* Glass Effect */

.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}


/* Enhanced Header Styles */

.header-floating {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.005) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin: 16px 20px;
    box-shadow: 0 8px 32px rgba(109, 40, 217, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: headerShimmer 3s ease-in-out infinite;
}

@keyframes headerShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@media (min-width: 1024px) {
    .header-floating {
        margin: 16px 80px;
    }
}

.header-floating:hover {
    border-color: rgba(109, 40, 217, 0.4);
    box-shadow: 0 12px 40px rgba(109, 40, 217, 0.25);
}


/* Navigation */

.nav-link {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 8px 16px;
    border-radius: 12px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 1px;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(109, 40, 217, 0.6);
    color: white;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.2), rgba(16, 185, 129, 0.2));
    color: white;
    text-shadow: 0 0 10px rgba(109, 40, 217, 0.5);
}

.nav-link.active::after {
    width: 60%;
}


/* Logo Animation */

.logo-container {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container:hover .gradient-text {
    filter: drop-shadow(0 0 10px rgba(109, 40, 217, 0.6));
}


/* Enhanced Logo Animations */

.logo-image {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-container:hover .logo-image {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(109, 40, 217, 0.8)) brightness(1.2);
    animation-play-state: paused;
}

.logo-text {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-container:hover .logo-text {
    transform: translateX(5px);
    text-shadow: 0 0 15px rgba(109, 40, 217, 0.6);
}

.logo-subtitle {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    animation: subtitlePulse 3s ease-in-out infinite;
}

.logo-container:hover .logo-subtitle {
    opacity: 1;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation-play-state: paused;
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(109, 40, 217, 0.3));
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
        filter: drop-shadow(0 0 15px rgba(109, 40, 217, 0.4));
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(109, 40, 217, 0.5));
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
        filter: drop-shadow(0 0 15px rgba(109, 40, 217, 0.4));
    }
}

@keyframes subtitlePulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}


/* Button Effects */

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 1px solid rgba(109, 40, 217, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.2);
    z-index: 1;
}

.btn-primary span {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
}

.btn-primary::after {
    background: rgba(255, 255, 255, 0.2);
    content: "";
    height: 155px;
    left: -75px;
    opacity: 0.2;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: -10;
}

.btn-primary:hover::after {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.4);
}


/* Modern Button Styles */

.btn-modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(109, 40, 217, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-text {
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.btn-icon {
    position: relative;
    z-index: 10;
    font-size: 1.2em;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.btn-modern:hover .btn-icon {
    opacity: 1;
    transform: scale(1.1);
}

.btn-modern:hover .btn-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-outline {
    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, 0.5);
    outline-offset: 0px;
    text-shadow: none;
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
    position: relative;
    z-index: 1;
}

.btn-outline:hover {
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px rgba(67, 115, 136, 0.8);
    transform: translateY(-4px);
}


/* Support Card Styles */

.support-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.support-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(109, 40, 217, 0.1), transparent);
    animation: cardRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.support-card:hover::before {
    opacity: 1;
}

.support-card:hover::after {
    opacity: 1;
}

.support-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

@keyframes cardRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Floating Icons */

.floating-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0.3;
    animation: floatIcon 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.7;
    }
}


/* Progress Bar */

.progress-bar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-in-out;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 100%);
    animation: shimmer 2.5s ease-in-out infinite;
    border-radius: 10px;
}

@keyframes shimmer {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}


/* QR Code Styles */

.qr-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* Floating Coins */

.floating-coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #92400e;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    animation: floatCoin 4s ease-in-out infinite;
    z-index: 5;
}


/* Particle System */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #6d28d9, #10b981);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.floating-coin::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    border-radius: 50%;
    pointer-events: none;
}

.coin-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.coin-1 .rupee-symbol {
    animation-delay: 0s;
    animation-duration: 5s;
}

.coin-2 {
    top: 25%;
    right: 20%;
    animation-delay: -1s;
    animation-duration: 4.5s;
}

.coin-2 .rupee-symbol {
    animation-delay: -1s;
    animation-duration: 4.5s;
}

.coin-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: -2s;
    animation-duration: 6s;
}

.coin-3 .rupee-symbol {
    animation-delay: -2s;
    animation-duration: 6s;
}

.coin-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: -3s;
    animation-duration: 5.5s;
}

.coin-4 .rupee-symbol {
    animation-delay: -3s;
    animation-duration: 5.5s;
}

.coin-5 {
    top: 50%;
    left: 5%;
    animation-delay: -1.5s;
    animation-duration: 4s;
}

.coin-5 .rupee-symbol {
    animation-delay: -1.5s;
    animation-duration: 4s;
}

.coin-6 {
    top: 60%;
    right: 8%;
    animation-delay: -2.5s;
    animation-duration: 5.2s;
}

.coin-6 .rupee-symbol {
    animation-delay: -2.5s;
    animation-duration: 5.2s;
}

@keyframes floatCoin {
    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    25% {
        transform: translateY(-8px) translateX(3px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: translateY(-5px) translateX(-4px);
        box-shadow: 0 5px 18px rgba(255, 215, 0, 0.45);
    }
    75% {
        transform: translateY(-10px) translateX(2px);
        box-shadow: 0 7px 22px rgba(255, 215, 0, 0.55);
    }
}


/* Static rupee symbols - no rotation */

.floating-coin .rupee-symbol,
.hero-coin .rupee-symbol {
    display: inline-block;
    transform: rotate(0deg);
}


/* Hero Coins */

.hero-coin {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #92400e;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), inset 0 3px 0 rgba(255, 255, 255, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.2);
    animation: floatCoin 6s ease-in-out infinite;
    z-index: 5;
}

.hero-coin::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-coin-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.hero-coin-1 .rupee-symbol {
    animation-delay: 0s;
    animation-duration: 7s;
}

.hero-coin-2 {
    top: 30%;
    right: 12%;
    animation-delay: -2s;
    animation-duration: 6.5s;
}

.hero-coin-2 .rupee-symbol {
    animation-delay: -2s;
    animation-duration: 6.5s;
}

.hero-coin-3 {
    bottom: 25%;
    left: 8%;
    animation-delay: -4s;
    animation-duration: 8s;
}

.hero-coin-3 .rupee-symbol {
    animation-delay: -4s;
    animation-duration: 8s;
}

.hero-coin-4 {
    bottom: 35%;
    right: 10%;
    animation-delay: -1s;
    animation-duration: 7.5s;
}

.hero-coin-4 .rupee-symbol {
    animation-delay: -1s;
    animation-duration: 7.5s;
}


/* Animation Classes */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* Hover Effects */

.hover-text {
    transition: all 0.3s ease;
    cursor: default;
}

.hover-text:hover {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.section-title {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

.section-title:hover {
    transform: scale(1.02);
    text-shadow: 0 0 30px rgba(109, 40, 217, 0.6);
}

.glow-on-hover {
    transition: all 0.3s ease;
    cursor: default;
}

.glow-on-hover:hover {
    filter: drop-shadow(0 0 3px rgba(109, 40, 217, 0.2)) drop-shadow(0 0 5px rgba(16, 185, 129, 0.15));
    transform: scale(1.005);
}


/* Footer Links */

.footer-link {
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
}

.footer-link:hover {
    color: white;
    text-shadow: 0 0 10px rgba(109, 40, 217, 0.6);
    transform: translateY(-2px);
}


/* Dialog Box Styles */

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dialog-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dialog-overlay.active .dialog-box {
    transform: scale(1) translateY(0);
}

.dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.dialog-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: dialogIconPulse 2s ease-in-out infinite;
}

@keyframes dialogIconPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    }
}


/* Neon Diagonal Animation */

.neon-diagonal {
    position: relative;
    overflow: hidden;
}

.neon-diagonal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(109, 40, 217, 0.3) 45%, rgba(16, 185, 129, 0.4) 50%, rgba(109, 40, 217, 0.3) 55%, transparent 60%);
    animation: neonSweep 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes neonSweep {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(0%) translateY(0%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}


/* Enhanced Hover Effects */

.hover-lift {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 15px 35px rgba(109, 40, 217, 0.3));
}

.hover-glow {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hover-glow:hover::before {
    left: 100%;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(109, 40, 217, 0.4), 0 0 60px rgba(16, 185, 129, 0.2);
}

.hover-scale {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.hover-scale:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.hover-rotate {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hover-rotate:hover {
    transform: rotate(5deg) scale(1.05);
}

.hover-bounce {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hover-bounce:hover {
    transform: translateY(-10px);
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(-10px);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hover-pulse {
    transition: all 0.3s ease;
}

.hover-pulse:hover {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.hover-shimmer {
    position: relative;
    overflow: hidden;
}

.hover-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 100%);
    transition: left 0.8s ease;
}

.hover-shimmer:hover::after {
    left: 100%;
}

.hover-tilt {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

.hover-tilt:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(-10deg) translateZ(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


/* Click Animation */

.click-effect {
    position: relative;
    overflow: hidden;
}

.click-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.click-bounce {
    animation: clickBounce 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes clickBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}


/* Text Hover Effects */

.text-hover-glow {
    transition: all 0.3s ease;
    cursor: default;
}

.text-hover-glow:hover {
    text-shadow: 0 0 20px rgba(109, 40, 217, 0.8), 0 0 40px rgba(16, 185, 129, 0.4);
    transform: scale(1.02);
}

.text-hover-rainbow {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.text-hover-rainbow:hover {
    animation-duration: 0.5s;
    transform: scale(1.05);
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Icon Hover Effects */

.icon-hover-spin {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-hover-spin:hover {
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 0 15px rgba(109, 40, 217, 0.8));
}

.icon-hover-bounce {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-hover-bounce:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}


/* Card Hover Enhancements */

.card-hover-float {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.card-hover-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.card-hover-float:hover::before {
    opacity: 1;
}

.card-hover-float:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(109, 40, 217, 0.3);
}


/* Button Enhanced Hover */

.btn-hover-expand {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-hover-expand::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-hover-expand:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hover-expand:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}


/* Progress Bar Hover */

.progress-hover:hover .progress-fill {
    animation: progressPulse 1s ease-in-out infinite;
}

@keyframes progressPulse {
    0%,
    100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }
    .dialog-box {
        padding: 2rem;
        margin: 1rem;
    }
    /* Reduce hover effects on mobile */
    .hover-lift:hover,
    .hover-scale:hover,
    .hover-tilt:hover {
        transform: none;
    }
}