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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    perspective: 1000px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 130, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 120, 180, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 255, 255, 0.1) 0%, transparent 50%);
    animation: floatingBg 20s ease-in-out infinite;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(1px);
    animation: float 15s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 10s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    animation-delay: 3s;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    transform-style: preserve-3d;
    animation: subtleFloat 6s ease-in-out infinite;
}

.title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fade-text {
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    transform-style: preserve-3d;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.slide-text {
    opacity: 0;
    transform: translateX(-50px) rotateY(-10deg);
    animation: slideIn3D 1.5s ease-out 1s forwards;
    font-weight: 400;
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

.social-links {
    display: flex;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp3D 1s ease-out 2.5s forwards;
    transform-style: preserve-3d;
}

.social-link {
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateZ(-5px);
    transition: all 0.4s ease;
}

.social-link:hover {
    transform: translateY(-8px) rotateX(10deg) rotateY(5deg);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
                0 5px 15px rgba(255, 255, 255, 0.1);
}

.social-link:hover::before {
    transform: translateZ(-10px) scale(1.1);
    background: rgba(255, 255, 255, 0.05);
}

.social-link svg {
    display: block;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideIn3D {
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes fadeInUp3D {
    from {
        transform: translateY(30px) rotateX(-10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(2deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(15px) rotate(240deg);
    }
}

@keyframes floatingBg {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(180deg);
    }
}

/* Keyboard navigation styles */
.keyboard-navigation .social-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
    transform: translateY(-8px) rotateX(10deg) rotateY(5deg) scale(1.05);
}

/* Additional fluffy enhancements */
.title {
    position: relative;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    animation: lineAppear 1s ease-out 3s forwards;
}

@keyframes lineAppear {
    to {
        opacity: 1;
        width: 200px;
    }
}

/* Smooth cursor interaction */
* {
    cursor: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    mix-blend-mode: difference;
}

.social-link,
a {
    cursor: pointer;
}

/* Enhanced glow effects */
.fade-text {
    position: relative;
}

.fade-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease-in-out infinite;
    opacity: 0.3;
    filter: blur(1px);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .title {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .social-link {
        padding: 0.75rem;
    }
    
    .shape {
        opacity: 0.3;
    }
    
    body::after {
        display: none;
    }
    
    * {
        cursor: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .shape,
    .fade-text,
    .slide-text,
    .social-links {
        animation: none;
    }
    
    .social-link:hover {
        transform: translateY(-3px);
    }
}