* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #187635 0%, #1D6A43 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.container {
    text-align: center;
    background: rgba(76, 175, 80, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 8px 32px rgba(24, 118, 53, 0.2);
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.sad-face {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.face-circle {
    width: 100%;
    height: 100%;
    border: 8px solid rgba(76, 175, 80, 0.8);
    border-radius: 50%;
    position: relative;
    background: rgba(76, 175, 80, 0.1);
}

.eyes {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.eye {
    width: 12px;
    height: 12px;
    background: rgba(76, 175, 80, 0.8);
    border-radius: 50%;
    animation: blink 4s infinite;
}

.mouth {
    position: absolute;
    bottom: 25%;
    left: 50%;
    width: 40px;
    height: 20px;
    border: 4px solid rgba(76, 175, 80, 0.8);
    border-bottom: none;
    border-radius: 40px 40px 0 0;
    transform: translateX(-50%) rotate(360deg);
}

.error-code {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.error-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.error-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.home-button {
    display: inline-block;
    padding: 15px 30px;
    background: rgba(76, 175, 80, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(76, 175, 80, 0.3);
    backdrop-filter: blur(5px);
}

.home-button:hover {
    background: rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 118, 53, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    animation: float-shapes 20s infinite linear;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 80%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 40px;
    height: 40px;
    left: 70%;
    animation-delay: 6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float-shapes {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 40px 20px;
    }

    .error-code {
        font-size: 3rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .sad-face {
        width: 100px;
        height: 100px;
    }
}