* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FCF5F2;
    color: #1a1a1a;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}
.container {
    text-align: center;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.error-code {
    font-size: 120px;
    font-weight: 100;
    color: #e8ddd8;
    letter-spacing: 12px;
    line-height: 1;
    margin-bottom: 40px;
    animation: float 6s ease-in-out infinite;
}
.divider {
    width: 40px;
    height: 1px;
    background: #d5c9c3;
    margin: 0 auto 40px;
    opacity: 0;
    animation: expandWidth 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}
.message {
    font-size: 18px;
    font-weight: 300;
    color: #6b6b6b;
    letter-spacing: 2px;
    margin-bottom: 60px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
.message .brand {
    color: #1a1a1a;
    font-weight: 400;
}
.redirect-info {
    font-size: 13px;
    font-weight: 300;
    color: #9a8f89;
    letter-spacing: 1px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}
.progress-bar {
    width: 200px;
    height: 1px;
    background: #ebe3de;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.4s forwards;
}
.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #1a1a1a;
    animation: progress 5s linear forwards;
}
.manual-link {
    font-size: 12px;
    font-weight: 300;
    color: #a89e99;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid #d5c9c3;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 1.6s forwards;
}
.manual-link:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
    background: rgba(0,0,0,0.02);
}
.corner-decoration {
    position: fixed;
    width: 60px;
    height: 60px;
    opacity: 0.04;
    pointer-events: none;
}
.corner-decoration.top-left {
    top: 40px;
    left: 40px;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
}
.corner-decoration.top-right {
    top: 40px;
    right: 40px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
}
.corner-decoration.bottom-left {
    bottom: 40px;
    left: 40px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
}
.corner-decoration.bottom-right {
    bottom: 40px;
    right: 40px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes expandWidth {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 40px;
    }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes progress {
    from { width: 0%; }
    to { width: 100%; }
}
@media (max-width: 640px) {
    .error-code {
        font-size: 80px;
        letter-spacing: 8px;
    }
    .message {
        font-size: 16px;
    }
    .container {
        padding: 40px 24px;
    }
    .corner-decoration {
        width: 40px;
        height: 40px;
    }
    .corner-decoration.top-left { top: 20px; left: 20px; }
    .corner-decoration.top-right { top: 20px; right: 20px; }
    .corner-decoration.bottom-left { bottom: 20px; left: 20px; }
    .corner-decoration.bottom-right { bottom: 20px; right: 20px; }
}
