﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
    background-color: #f8fafc;
    color: #334155;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    padding: 3rem 2.25rem 2.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #3b82f6, #6366f1);
    }

.status-code {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    user-select: none;
}

.message {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #475569;
    margin-bottom: 2rem;
    word-break: break-word;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: #2563eb;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

    .btn-home:hover {
        background: #1d4ed8;
        box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
        transform: translateY(-1px);
    }

    .btn-home:active {
        transform: translateY(0);
    }

    .btn-home svg {
        width: 18px;
        height: 18px;
    }
