* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #F3E8F8 0%, #EAD8F5 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #7E57A8;
    position: relative;
}
/* Floating Hearts & Sparkles */
.floating {
    position: absolute;
    pointer-events: none;
    animation: float 6s infinite ease-in-out;
}
.heart {
    color: #E8A8D4;
    font-size: 1.5rem;
    opacity: 0.6;
}
.sparkle {
    color: #F8C9E2;
    font-size: 1rem;
    opacity: 0.8;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.8; }
}
.container {
    text-align: center;
    max-width: 500px;
    width: 90%;
    z-index: 10;
}
.error-card {
    background: white;
    border-radius: 28px;
    padding: 50px 30px;
    box-shadow: 0 20px 50px rgba(199, 168, 217, 0.2);
    border: 1.5px solid rgba(215, 180, 240, 0.3);
    animation: fadeInUp 0.7s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.error-code {
    font-size: 120px;
    font-weight: 700;
    background: linear-gradient(135deg, #D47AB8, #C7A8D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(212, 122, 184, 0.2);
}
.error-title {
    font-size: 28px;
    font-weight: 600;
    color: #7E57A8;
    margin-bottom: 16px;
}
.error-message {
    font-size: 16px;
    color: #A27CC0;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}
.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #E8A8D4, #D47AB8);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(212, 122, 184, 0.3);
    text-decoration: none;
}
.back-home-btn:hover {
    background: linear-gradient(135deg, #D47AB8, #C76BA8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 122, 184, 0.4);
}
.back-home-btn span {
    font-size: 20px;
}
.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 22px;
    font-weight: 300;
    color: #7E57A8;
    letter-spacing: 3px;
    z-index: 10;
}
/* Responsive */
@media (max-width: 768px) {
    .error-code {
        font-size: 90px;
    }
    .error-title {
        font-size: 24px;
    }
    .error-card {
        padding: 40px 20px;
    }
    .logo {
        left: 20px;
        top: 20px;
        font-size:c 20px;
    }
}
@media (max-width: 480px) {
    .error-code {
        font-size: 70px;
    }
    .back-home-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}
