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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #333333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}

.bg-container {
    width: 100vw;
    overflow: hidden;
    text-align: center;
    padding: 40px 10vh;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #597BEB;
    margin-bottom: 20px;
    letter-spacing: -4px;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.search-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
}

.search-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.search-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-btn:hover {
    background: #1d4ed8;
}

.links {
    margin-top: 40px;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.link:hover {
    color: #2563eb;
}

@media (max-width: 640px) {
    .error-code {
        font-size: 6rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .links {
        gap: 24px;
    }
}