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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
}

.robot-container {
    margin-bottom: 40px;
}

.robot-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    opacity: 0.8;
}

.error-code {
    font-size: 56px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.error-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.error-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.error-details {
    background: #f9f9f9;
    border-left: 3px solid #ddd;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 40px;
    text-align: left;
    font-size: 13px;
}

.error-details p {
    color: #555;
    margin: 6px 0;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.error-details strong {
    color: #333;
}

.button-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
}

.btn-primary {
    background: #333;
    color: white;
}

.btn-primary:hover {
    background: #1a1a1a;
}

.btn-secondary {
    background: white;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #999;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }

    .error-code {
        font-size: 42px;
    }

    .error-title {
        font-size: 20px;
    }

    .robot-image {
        width: 70px;
        height: 70px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
