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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    position: relative;
}

/* Enhanced background with multiple layers */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 107, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(78, 205, 196, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(69, 183, 209, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 10% 60%, rgba(150, 206, 180, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 90% 40%, rgba(254, 202, 87, 0.4) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    33% { 
        transform: scale(1.1) rotate(1deg);
        filter: hue-rotate(30deg);
    }
    66% { 
        transform: scale(0.9) rotate(-1deg);
        filter: hue-rotate(-30deg);
    }
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Enhanced floating particles with more variety */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(255, 193, 7, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(76, 175, 80, 0.6) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        filter: hue-rotate(90deg) brightness(1.2);
    }
    50% { 
        transform: translateY(20px) rotate(180deg) scale(0.9);
        filter: hue-rotate(180deg) brightness(0.8);
    }
    75% { 
        transform: translateY(-15px) rotate(270deg) scale(1.05);
        filter: hue-rotate(270deg) brightness(1.1);
    }
}

/* Add geometric shapes */
.background-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: geometricMove 25s linear infinite;
}

@keyframes geometricMove {
    0% { transform: translateX(-100px) translateY(-100px) rotate(0deg); }
    100% { transform: translateX(100px) translateY(100px) rotate(360deg); }
}

/* Enhanced mouse trail effect */
.mouse-trail {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.trail-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    border-radius: 50%;
    pointer-events: none;
    animation: fadeOut 1.5s ease-out forwards;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1.5);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2) rotate(180deg);
        filter: brightness(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) rotate(360deg);
        filter: brightness(0.5);
    }
}

/* Enhanced ripple effect */
.ripple-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ripple {
    position: absolute;
    border: 3px solid;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4) 1;
    border-radius: 50%;
    animation: rippleExpand 2.5s ease-out forwards;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
        border-width: 3px;
    }
    50% {
        opacity: 0.8;
        border-width: 2px;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
        border-width: 1px;
    }
}

/* Content styling */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

.content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite alternate, gradientShift 4s ease-in-out infinite;
}

@keyframes titleGlow {
    from { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
        filter: brightness(1);
    }
    to { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.8);
        filter: brightness(1.3);
    }
}

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

.content p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Enhanced interactive elements */
.interactive-elements {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.element {
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.element::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.element:hover::before {
    left: 100%;
}

.element:hover::after {
    opacity: 1;
}

.element:hover {
    transform: translateY(-8px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

.element:active {
    transform: translateY(-2px) scale(0.98);
}

/* Add floating orbs */
.floating-orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.8;
    }
    66% { 
        transform: translateY(20px) translateX(-15px) scale(0.9);
        opacity: 0.4;
    }
}

/* Enhanced shimmer effect */
.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    animation: shimmer 6s linear infinite;
    z-index: -1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* Responsive design */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem;
    }
    
    .content p {
        font-size: 1.2rem;
    }
    
    .interactive-elements {
        flex-direction: column;
        align-items: center;
    }
    
    .element {
        width: 80%;
        max-width: 300px;
    }
}

/* Add pulsing effect to background */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
}

.background-container {
    animation: pulse 10s ease-in-out infinite;
} 