:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f0c29;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    color: var(--text-primary);
    perspective: 1000px;
}

/* Animated Blobs */
.blob-container {
    position: absolute;
    width: 100vw;
    height: 100vh;
    filter: blur(80px);
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: move 15s infinite alternate ease-in-out;
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    background: #ff007a;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: #7928ca;
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    width: 35vw;
    height: 35vw;
    background: #00d2ff;
    top: 40%;
    left: 40%;
    animation-duration: 20s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 150px) scale(1.3); }
}

/* Glassmorphism Panel */
.glass-panel {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px var(--glass-shadow), inset 0 0 0 1px rgba(255,255,255,0.15);
    animation: floatPanel 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floatPanel {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.title-404 {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3));
    transform: translateZ(40px);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    transform: translateZ(30px);
}

.description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    transform: translateZ(20px);
}

/* Button */
.home-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(25px);
}

.home-btn::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.5s ease;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateZ(25px) translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2), inset 0 0 10px rgba(255,255,255,0.1);
}

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