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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f1b33 0%, #1a2c52 100%);
    color: #fff;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 800px;
}

.glitch-container {
    margin-bottom: 2rem;
    position: relative;
}

.glitch {
    font-size: 10rem;
    font-weight: 700;
    letter-spacing: -5px;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8), 0 0 20px rgba(0, 191, 255, 0.5), 0 0 30px rgba(0, 191, 255, 0.3);
    position: relative;
    display: inline-block;
    transform: skew(-5deg);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: #ff00e1;
    animation: glitch-effect 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-5px, -3px);
}

.glitch::after {
    color: #00ffff;
    animation: glitch-effect 2s infinite linear alternate-reverse;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translate(5px, 3px);
}

@keyframes glitch-effect {
    0% {
        transform: translate(-5px, -3px);
    }
    20% {
        transform: translate(-15px, 3px);
    }
    40% {
        transform: translate(-5px, -2px);
    }
    60% {
        transform: translate(-15px, 5px);
    }
    80% {
        transform: translate(-5px, 2px);
    }
    100% {
        transform: translate(-10px, -5px);
    }
}

.message {
    margin-bottom: 2rem;
}

.message h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 600;
}

.message p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #c8d6e5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-home {
    display: inline-block;
    background: linear-gradient(to right, #00b4db, #0083b0);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 180, 219, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 180, 219, 0.4);
}

.btn-home:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 180, 219, 0.4);
}

.btn-home::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: all 0.7s;
}

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

.astronaut-container {
    position: absolute;
    width: 150px;
    height: 150px;
    right: 10%;
    top: 20%;
    animation: float 15s ease-in-out infinite;
}

.astronaut {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-30px) rotate(-5deg);
    }
}

/* Stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.planets .planet {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
}

.planet1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, #8a2be2, #4b0082);
    top: 20%;
    left: 10%;
    animation: orbit 25s linear infinite;
}

.planet2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 40% 40%, #ff4500, #8b0000);
    bottom: 10%;
    left: 20%;
    animation: orbit 40s linear infinite reverse;
}

.planet3 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #1e90ff, #00008b);
    top: 60%;
    right: 15%;
    animation: orbit 30s linear infinite;
}

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

@media (max-width: 768px) {
    .glitch {
        font-size: 6rem;
    }
    
    .message h2 {
        font-size: 2rem;
    }
    
    .message p {
        font-size: 1rem;
    }
    
    .astronaut-container {
        width: 100px;
        height: 100px;
        right: 5%;
        top: 10%;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 4rem;
    }
    
    .message h2 {
        font-size: 1.5rem;
    }
    
    .message p {
        font-size: 0.9rem;
    }
    
    .astronaut-container {
        display: none;
    }
}